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:
@@ -2,6 +2,7 @@ import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import qs.Commons
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
|
||||
Rectangle {
|
||||
@@ -58,7 +59,7 @@ Rectangle {
|
||||
}
|
||||
|
||||
NIcon {
|
||||
text: "palette"
|
||||
text: FontService.icons["eyedropper"]
|
||||
color: Color.mOnSurfaceVariant
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import qs.Commons
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
|
||||
Popup {
|
||||
@@ -129,7 +130,7 @@ Popup {
|
||||
spacing: Style.marginS * scaling
|
||||
|
||||
NIcon {
|
||||
text: "palette"
|
||||
text: FontService.icons["eyedropper"]
|
||||
font.pointSize: Style.fontSizeXXL * scaling
|
||||
color: Color.mPrimary
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ RowLayout {
|
||||
|
||||
NIcon {
|
||||
anchors.centerIn: parent
|
||||
text: FontService.icons["minus"]
|
||||
text: FontService.icons["minus"]
|
||||
font.pointSize: Style.fontSizeS * scaling
|
||||
color: decreaseArea.containsMouse ? Color.mOnPrimary : Color.mPrimary
|
||||
}
|
||||
@@ -130,7 +130,7 @@ RowLayout {
|
||||
|
||||
NIcon {
|
||||
anchors.centerIn: parent
|
||||
text: FontService.icons["plus"]
|
||||
text: FontService.icons["plus"]
|
||||
font.pointSize: Style.fontSizeS * scaling
|
||||
color: increaseArea.containsMouse ? Color.mOnPrimary : Color.mPrimary
|
||||
}
|
||||
|
||||
+1
-1
@@ -118,7 +118,7 @@ Item {
|
||||
// Icon
|
||||
NIcon {
|
||||
id: icon
|
||||
text: (root.type == "warning") ? FontService.icons["warning"] : FontService.icons["info"]
|
||||
text: (root.type == "warning") ? FontService.icons["warning"] : FontService.icons["info"]
|
||||
color: {
|
||||
switch (root.type) {
|
||||
case "warning":
|
||||
|
||||
Reference in New Issue
Block a user