gmc-holle / xfdashboard

Maybe a Gnome shell like dashboard for Xfce
GNU General Public License v2.0
120 stars 14 forks source link

grid size problems #168

Closed gsantner closed 6 years ago

gsantner commented 6 years ago

164 Grid size: It seems like the amount of grid columns is depending on the amount of search results. Is there a way to turn this off? - to set e.g. a fixed amount of columns of 5. So there are always 5 columns, and results always starting on top left.

grafik grafik

gmc-holle commented 6 years ago

Thanks for the new issue. I have already an idea how to improve it. Stay tuned ;)

gmc-holle commented 6 years ago

You can now style the layout of the search view of application view using icon mode with the latest commit. Just add these lines to ~/.config/xfdashboard/themes/global.css or the theme-dependant one ~/.config/xfdashboard/themes/user-<THEME_NAME>:

XfdashboardApplicationsView XfdashboardDynamicTableLayout,
XfdashboardSearchView XfdashboardSearchResultContainer XfdashboardDynamicTableLayout
{
    fixed-columns: 2;
}

The property fixed-columns will enforce the number of columns to use instead of dynamically calculate them for best fit. Setting it to 0 will disable the fixed number and enforce the default behaviour (dynamically calculated number of columns).

gsantner commented 6 years ago

@gmc-holle Thanks! works fine here!