Icons: color picker + better tab alignment in settings

+ autoformatting
This commit is contained in:
LemmyCook 2025-09-08 16:08:36 -04:00
parent b91112fc7a
commit 08d2747f1e
8 changed files with 28 additions and 17 deletions

View file

@ -108,7 +108,7 @@ Popup {
Layout.fillWidth: true
Layout.topMargin: Style.marginM * scaling
spacing: Style.marginM * scaling
Item {
Layout.fillWidth: true
}

View file

@ -403,10 +403,17 @@ NPanel {
spacing: Style.marginS * scaling
// Tab icon
NIcon {
text: FontService.icons[modelData.icon]
color: tabTextColor
font.pointSize: Style.fontSizeL * scaling
Rectangle {
color: Color.transparent
width: 20 * scaling
height: 20 * scaling
NIcon {
text: FontService.icons[modelData.icon]
color: tabTextColor
font.pointSize: Style.fontSizeL * scaling
anchors.fill: parent
}
}
// Tab label