mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
layout: more double margins implementations
This commit is contained in:
@@ -84,7 +84,7 @@ PopupWindow {
|
||||
const item = root.items[i];
|
||||
if (item && item.text) {
|
||||
// Calculate width: margins + icon (if present) + spacing + text width
|
||||
let itemWidth = Style.marginS * 2; // left and right margins
|
||||
let itemWidth = Style.margin2S; // left and right margins
|
||||
|
||||
if (item.icon && item.icon !== "") {
|
||||
itemWidth += Style.fontSizeL + Style.marginS; // icon + spacing
|
||||
|
||||
Reference in New Issue
Block a user