Better margins

This commit is contained in:
ItsLemmy
2025-10-12 09:50:01 -04:00
parent 56db04ee1e
commit 1e04a92047
4 changed files with 5 additions and 5 deletions
-1
View File
@@ -317,7 +317,6 @@ Singleton {
property string fontFixed: "DejaVu Sans Mono"
property real fontDefaultScale: 1.0
property real fontFixedScale: 1.0
property list<var> monitorsScaling: []
property bool idleInhibitorEnabled: false
property bool tooltipsEnabled: true
}
+1 -1
View File
@@ -377,7 +377,7 @@ NPanel {
delegate: Rectangle {
id: tabItem
Layout.fillWidth: true
Layout.preferredHeight: tabEntryRow.implicitHeight + Style.marginS * 2
Layout.preferredHeight: tabEntryRow.implicitHeight + Style.marginM * 2
radius: Style.radiusS
color: selected ? Color.mPrimary : (tabItem.hovering ? Color.mTertiary : Color.transparent)
readonly property bool selected: index === currentTabIndex
+3 -2
View File
@@ -110,10 +110,11 @@ ColumnLayout {
const rows = Math.ceil(root.contributors.length / columns)
return rows * cellHeight
}
cellWidth: Style.baseWidgetSize * 7
cellHeight: Style.baseWidgetSize * 3
cellWidth: Math.round(Style.baseWidgetSize * 7)
cellHeight: Math.round(Style.baseWidgetSize * 2.5)
model: root.contributors
delegate: Rectangle {
width: contributorsGrid.cellWidth - Style.marginM
height: contributorsGrid.cellHeight - Style.marginM
+1 -1
View File
@@ -261,7 +261,7 @@ ColumnLayout {
RowLayout {
anchors.fill: parent
anchors.margins: Style.marginM
anchors.margins: Style.marginL
spacing: Style.marginXS
NText {