You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[NodeLeading] TreeView row spacing collapses when NodeLeading is set between 0.0 and 1.0 #14791
When TreeView.NodeLeading is set to a floating-point value between 0.0 and 1.0 (for example, 0.2, 0.5, or 0.8), the spacing between TreeView nodes becomes noticeably compressed, making the nodes appear crowded.
Interestingly, this issue does not occur when NodeLeading is exactly 0.0 (legacy behavior) or exactly 1.0 (honest row-height). The unexpected behavior only occurs for values strictly between 0.0 and 1.0.
Even if it does not seem to make sense for "normal" Font rendering, when it comes to custom rendering, then by having half or even quarter lines, we can "emulate" lines with variable height.
Activity
KlausLoeffelmann commentedon Jul 21, 2026
That's by design.
Even if it does not seem to make sense for "normal" Font rendering, when it comes to custom rendering, then by having half or even quarter lines, we can "emulate" lines with variable height.