Problem

Extra UI controls on Tab window

Posted 4 years ago by Avatar Mick
Steps to reproduce:

1) Open Sample browser
2) Go to Docking & MDI -> Colored Tabs
3) Open a WPF visual tree analysis tool (I used the freely available program: Snoop)
4) Look at the headers for the tabs

When you get to step 4, you will notice that there is are two TextBlocks for every one that gets displayed on the header of the tab. Here is the image.

On tabs 2 and 3, you see a bold TextBlock as well as a non-bold TextBlock. However, on Tab 1, the foremost TextBlock is bold, which makes me think the back one isn't even necessary).

Mick

Comments (1)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Mick,

That's correct, the extra TextBlocks are there on purpose. The text of the active tab is shown in bold, and inactive tabs use a normal font weight. We include a bold version of the TextBlocks to prevent the tab from resizing slightly when focused. Because a TextBlock can be slightly larger when bold versus normal.

Actipro Software Support
Information The latest build of this product (2014.2 build 0610) was released 2 months ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.