Skip to content
  • Florian Müllner's avatar
    switcherPopup: Fix scrollable check · 867cffaf
    Florian Müllner authored
    When commit c6cea277 replaced Shell.GenericContainer, the check
    whether the required width exceeds the avilable width was changed
    from using the minimum widths of items to the natural width of the
    scroll view.
    
    That doesn't work correctly, as the *natural* width may well exceed
    the actually used width: SwitcherList bases its width request on
    children's minimum sizes to force labels to ellipsize.
    
    Fix this by using the minimum width of the scroll view's child instead.
    
    GNOME/gnome-shell#1834
    867cffaf