mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 10:18:20 +00:00
Increase folder cell width slightly.
The increased breathing room makes it more likely that long app names will fit in the folder cells without being cut off. Bug: 22462641 Change-Id: I110ede040f9e8fdddbf0c4e7a395ac71435559f3
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