Revert "Align widget padding to icons" (#4879)

This reverts commit 93cb189b40.
This commit is contained in:
Clément Gayot
2024-10-07 04:05:27 +02:00
committed by GitHub
parent c4c0edbf37
commit 524824eebd
2 changed files with 1 additions and 2 deletions

View File

@@ -1317,7 +1317,6 @@ public class DeviceProfile {
} else {
widgetPadding.setEmpty();
}
widgetPadding.left = widgetPadding.right += widgetPadding.right + widgetPadding.left - Math.round(Math.max(0, minSpacing - cellLayoutBorderSpacePx.x));
}
/**

View File

@@ -149,7 +149,7 @@ public class QsbContainerView extends FrameLayout {
@Override
public void setPadding(int left, int top, int right, int bottom) {
super.setPadding(left, top, right, bottom);
super.setPadding(0, 0, 0, 0);
}
protected void setPaddingUnchecked(int left, int top, int right, int bottom) {