Skip to content

switchers/compact: Fix dialog sizes not getting updated

Ismael Asensio requested to merge work/iasensio/compact-switcher-fix into master

Use TextMetrics to calculate text sizes and update the longest caption between different calls to the switcher (on visible changes).

Also remove the minimum height constraint (20% of the screen).

BEFORE compactswitcher_before
AFTER compactswitcher_layout

BUG: 422447 FIXED-IN: 5.25.2

Edited by Ismael Asensio

Merge request reports