mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-05-29 09:02:12 +00:00
Better margins
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -261,7 +261,7 @@ ColumnLayout {
|
||||
|
||||
RowLayout {
|
||||
anchors.fill: parent
|
||||
anchors.margins: Style.marginM
|
||||
anchors.margins: Style.marginL
|
||||
spacing: Style.marginXS
|
||||
|
||||
NText {
|
||||
|
||||
Reference in New Issue
Block a user