Title on ToolWindows may wrap

Docking/MDI for WPF Forum

Posted 8 years ago by Markus Springweiler
Version: 16.1.0631
Platform: .NET 4.5
Environment: Windows 8 (64-bit)
Avatar

On TitleBarPanel the title-TextBlock has its property TextTrimming set to CharacterEllipsis but property TextWrapping is untouched and may inherit a global style -- and a multi-line title looks very ugly.

Comments (5)

Answer - Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Markus,

Ok, we will explicitly set TextWrapping for the next build.


Actipro Software Support

Posted 8 years ago by Markus Springweiler
Avatar

Updated to 632: No wrapping any more but also not any ellipsis for a reason I don't understand: Snoop does not even show the ellipsis for the single TextBlock; but at least in 3D view of Snoop you can see that the ellipsis is behind the right aligned contextual content template.

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Markus,

Sorry but we're not seeing this happen in our samples, even in the Custom Title Bar Content one.  In that when the containers are sized thing, we see ellipses fine. 

For scenarios like this, please always make a new simple sample project and send it to our support address so that we can debug with that and see what's going on.  Be sure to rename the .zip file extension of what you send so it doesn't get spam blocked.


Actipro Software Support

Posted 8 years ago by Markus Springweiler
Avatar

Just enable DockSite.ToolWindowsHaveTitleBarIcons and you'll see no ellipsis any more.

Answer - Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Thanks, we found the problem in the TitleBarPanel measure code.  It's fixed for the next maintenance release.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.