mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Icons: color picker + better tab alignment in settings
+ autoformatting
This commit is contained in:
@@ -134,7 +134,7 @@ RowLayout {
|
||||
|
||||
NIcon {
|
||||
id: windowIcon
|
||||
text: MediaService.isPlaying ? FontService.icons["pause"]: FontService.icons["play"]
|
||||
text: MediaService.isPlaying ? FontService.icons["pause"] : FontService.icons["play"]
|
||||
font.pointSize: Style.fontSizeL * scaling
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
@@ -154,7 +154,7 @@ RowLayout {
|
||||
id: trackArt
|
||||
anchors.fill: parent
|
||||
imagePath: MediaService.trackArtUrl
|
||||
fallbackIcon: MediaService.isPlaying ? FontService.icons["pause"]: FontService.icons["play"]
|
||||
fallbackIcon: MediaService.isPlaying ? FontService.icons["pause"] : FontService.icons["play"]
|
||||
fallbackIconSize: 10 * scaling
|
||||
borderWidth: 0
|
||||
border.color: Color.transparent
|
||||
|
||||
@@ -108,7 +108,7 @@ Popup {
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: Style.marginM * scaling
|
||||
spacing: Style.marginM * scaling
|
||||
|
||||
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user