User avatar
Topic Author
Posts: 241
Joined: 06 Jun 2016, 18:14
Location: Lesser Magellanic Cloud

Tooltip Bug?

11 Oct 2019, 16:33

I notice that my tooltips are affected by the scale transform of the object they are attached to. From this post on StackOverflow ( ... t-modified), it sounds like the native WPF behavior of tooltips is that they maintain a separate visual tree and are not affected by the scale of their associated framework element,

Here is an example screenshot of my tooltips being affected by scale, when I am not sure they should be. The behavior occurs with either layout and render transforms are applied to the object the tooltip is associated with. In the screenshot shown below, the object they are attached to has a scaling factor of 0.5f via ScaleTransform applied to a LayoutTransform.


Is this a bug that I should file a report for?
User avatar
Site Admin
Posts: 2991
Joined: 22 Dec 2011, 19:20

Re: Tooltip Bug?

14 Oct 2019, 10:35

Yes, this is a bug, I just verified that in WPF the ToolTip is not scaled as its owner, it remains with the default size.
Could you please report it in our bugtracker?

As a temporal workaround you can scale up the ToolTip:
<Button Content="Hello World!">
        <ScaleTransform ScaleX="0.5" ScaleY="0.5"/>
                <ScaleTransform ScaleX="2" ScaleY="2"/>
            <TextBlock Text="Hello World!"/>

Who is online

Users browsing this forum: Ahrefs [Bot], hcpizzi and 0 guests