OpenLauncherTeam / openlauncher

Customizable and Open Source Launcher for Android
Apache License 2.0
1.41k stars 413 forks source link

Use drawer column count to determine the gridsize of the search's grid layout #550

Closed cmtjk closed 4 years ago

cmtjk commented 4 years ago

Rational

While the column count of the drawer, dock, and desktop is configurable, the grid layout of the search results view stays the same (i.e. 4). Especially on larger screens, where the user might increase the columns and rows of the dock and drawer to display more apps, this results in a weirdly non-uniform look.

First thought about an option (will be implemented on request) for the column count of the search results view, but I think most people would set it to the same value as the drawer column count.

This PR will adjust the search results column count to the drawer's column count. Nothing fancy.