• Felipe Borges's avatar
    list-view: Allow ListView to shrink · e04c71a6
    Felipe Borges authored
    We were forcing a constant width for ListView rows in order to limit
    the maximium width of the content. This prevented the main Boxes
    window from being resized to values smaller than that.
    
    Now we store a max-content-width value in the ListView and whenever
    the allocated width for the main window is smaller than that, we
    just let the listbox fill the available space.
    
    This is somewhat a responsive behavior for width allocation that
    should cover small screen devices or tiling displays.
    
    Hopefully Gtk4 will introduce a max-width CSS property that would
    ease the implementation of these use cases. Alternatively, Gtk4
    might have a constraint layout machinery that would obsolete this
    issue.
    
    Fixes #76
    e04c71a6
Name
Last commit
Last update
..
icons Loading commit data...
osinfo Loading commit data...
ui Loading commit data...
QEMU_Session Loading commit data...
disk.img Loading commit data...
gnome-boxes-search-provider.ini Loading commit data...
gnome-boxes.gresource.xml Loading commit data...
gtk-style.css Loading commit data...
meson.build Loading commit data...
org.gnome.Boxes.SearchProvider.service.in Loading commit data...
org.gnome.Boxes.appdata.xml.in Loading commit data...
org.gnome.Boxes.desktop.in Loading commit data...
org.gnome.Boxes.service.in Loading commit data...
org.gnome.boxes.gschema.xml Loading commit data...
recommended-downloads.xml Loading commit data...