Icons: color picker + better tab alignment in settings
+ autoformatting
This commit is contained in:
parent
b91112fc7a
commit
08d2747f1e
8 changed files with 28 additions and 17 deletions
|
|
@ -403,10 +403,17 @@ NPanel {
|
|||
spacing: Style.marginS * scaling
|
||||
|
||||
// Tab icon
|
||||
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
|
||||
|
|
|
|||
|
|
@ -70,12 +70,14 @@ Singleton {
|
|||
"link": "\uF0C1",
|
||||
"plus": "\uF067",
|
||||
"minus": "\uF068",
|
||||
"eyedropper": "\uF342",
|
||||
"bell": "\uF189",
|
||||
"bell_striked": "\uEE15", // FIXME
|
||||
"drive": "\uEE15", // FIXME
|
||||
"person": "\uEE15", // FIXME
|
||||
|
||||
|
||||
"bell_striked": "\uEE15",
|
||||
"drive"// FIXME
|
||||
: "\uEE15",
|
||||
"person"// FIXME
|
||||
: "\uEE15"
|
||||
// FIXME
|
||||
}
|
||||
|
||||
// -------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue