layout: implement double margin (e.g. Style.margin2M) instead of what PR #1408 did.

This commit is contained in:
Lemmy
2026-02-20 21:01:35 -05:00
parent 8885be678c
commit b36bef4cc0
35 changed files with 91 additions and 83 deletions
+1 -1
View File
@@ -737,7 +737,7 @@ Item {
id: sidebar
clip: true
Layout.preferredWidth: Math.round(root.sidebarExpanded ? 200 * Style.uiScaleRatio : sidebarToggle.width + (root.panelVeryTransparent ? Style.marginXL : 0) + (sidebarList.verticalScrollBarActive ? Style.marginM : 0))
Layout.preferredWidth: Math.round(root.sidebarExpanded ? 200 * Style.uiScaleRatio : sidebarToggle.width + (root.panelVeryTransparent ? Style.margin2M : 0) + (sidebarList.verticalScrollBarActive ? Style.marginM : 0))
Layout.fillHeight: true
Layout.alignment: Qt.AlignTop