Toast: better spacing/margin

This commit is contained in:
LemmyCook 2025-09-09 08:27:44 -04:00
parent 73541eec49
commit ecd6141739
2 changed files with 6 additions and 4 deletions

View file

@ -192,8 +192,10 @@ Singleton {
} }
windowsList.push({ windowsList.push({
"id": (toplevel.address !== undefined && toplevel.address !== null) ? String(toplevel.address) : "", "id": (toplevel.address !== undefined
"title": (toplevel.title !== undefined && toplevel.title !== null) ? String(toplevel.title) : "", && toplevel.address !== null) ? String(toplevel.address) : "",
"title": (toplevel.title !== undefined && toplevel.title !== null) ? String(
toplevel.title) : "",
"appId": (appId !== undefined && appId !== null) ? String(appId) : "", "appId": (appId !== undefined && appId !== null) ? String(appId) : "",
"workspaceId": toplevel.workspace?.id || null, "workspaceId": toplevel.workspace?.id || null,
"isFocused": toplevel.activated === true "isFocused": toplevel.activated === true

View file

@ -112,8 +112,8 @@ Item {
RowLayout { RowLayout {
id: contentLayout id: contentLayout
anchors.fill: parent anchors.fill: parent
anchors.margins: Style.marginM * scaling anchors.margins: Style.marginL * scaling
spacing: Style.marginS * scaling spacing: Style.marginL * scaling
// Icon // Icon
NIcon { NIcon {