9e5b357b0b
Depending on the available horizontal space, we may want to manipulate the icon grid and scroll view spacing to result in an optimal layout that has space left to preview prev/next pages. The main change here is that, when adapting to the available size, the space given to a page does not necessarily match the available space, as we need to be able to show more than one page at a time. With this decoupling of available and page sizes in place, we now know how much space there is available in order to extend the padding between pages, or the fade effect applied to the previewed pages. Underneath, we rely a bit less on hardcoded CSS paddings, and a bit more on the StScrollView::content-padding property. All put together, gives us proper space management from ultra-wide displays, to display ratios that are close to the optimal grid ratio. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1630> |
||
---|---|---|
.. | ||
_a11y.scss | ||
_app-grid.scss | ||
_base.scss | ||
_buttons.scss | ||
_calendar.scss | ||
_check-box.scss | ||
_corner-ripple.scss | ||
_dash.scss | ||
_dialogs.scss | ||
_entries.scss | ||
_hotplug.scss | ||
_ibus-popup.scss | ||
_keyboard.scss | ||
_login-dialog.scss | ||
_looking-glass.scss | ||
_message-list.scss | ||
_misc.scss | ||
_network-dialog.scss | ||
_notifications.scss | ||
_osd.scss | ||
_overview.scss | ||
_panel.scss | ||
_popovers.scss | ||
_screen-shield.scss | ||
_scrollbars.scss | ||
_search-entry.scss | ||
_search-results.scss | ||
_slider.scss | ||
_switcher-popup.scss | ||
_switches.scss | ||
_tiled-previews.scss | ||
_window-picker.scss | ||
_workspace-switcher.scss | ||
_workspace-thumbnails.scss |