Skip to content

NavigationTabButton: Reduce jitter of its label relative to its icon

ivan tkachenko requested to merge work/ratijas/navtabbar-jitter-button into master

Ensure label is in sync with the HCenter-aligned and ceiled to the pixel-grid icon during resizing.

Before After
before - discrete after - discrete

TabBar positioning Tabs in a way that causes jitter is not ideal, but that's a topic for another MR.


Not sure if implicitWidth is still usable after this, but at least we don't really make use of it in the NavigationTabBar and it doesn't throw binding loop warnings or anything. I just couldn't find any cleaner way of achieving the same effect.

Merge request reports