mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
am a295048a: Increase folder cell width slightly.
* commit 'a295048a69d35b5adc3f021c3d40c32700cc9629': Increase folder cell width slightly.
This commit is contained in:
@@ -229,7 +229,8 @@ public class DeviceProfile {
|
||||
hotseatCellHeightPx = iconSizePx;
|
||||
|
||||
// Folder
|
||||
folderCellWidthPx = cellWidthPx + 3 * edgeMarginPx;
|
||||
folderCellWidthPx = Math.min(cellWidthPx + 6 * edgeMarginPx,
|
||||
(availableWidthPx - 4 * edgeMarginPx) / inv.numFolderColumns);
|
||||
folderCellHeightPx = cellHeightPx + edgeMarginPx;
|
||||
folderBackgroundOffset = -edgeMarginPx;
|
||||
folderIconSizePx = iconSizePx + 2 * -folderBackgroundOffset;
|
||||
|
||||
Reference in New Issue
Block a user