mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
statusbar: Don't use fractional font sizes
This commit is contained in:
parent
be5acaf8a9
commit
06de6e416e
2 changed files with 4 additions and 10 deletions
|
|
@ -54,7 +54,8 @@ Item {
|
|||
property alias colorScopeColor: icons.backgroundColor
|
||||
property alias applets: appletIconsRow
|
||||
|
||||
readonly property real textPixelSize: PlasmaCore.Units.gridUnit * 0.6
|
||||
readonly property real textPixelSize: 11
|
||||
readonly property real smallerTextPixelSize: 9
|
||||
readonly property real elementSpacing: PlasmaCore.Units.smallSpacing * 1.5
|
||||
|
||||
PlasmaCore.DataSource {
|
||||
|
|
@ -208,14 +209,14 @@ Item {
|
|||
PlasmaComponents.Label {
|
||||
text: Qt.formatDate(timeSource.data.Local.DateTime, "ddd. MMMM d")
|
||||
color: PlasmaCore.ColorScope.disabledTextColor
|
||||
font.pixelSize: root.textPixelSize * 0.8
|
||||
font.pixelSize: root.smallerTextPixelSize
|
||||
}
|
||||
Item { Layout.fillWidth: true }
|
||||
PlasmaComponents.Label {
|
||||
visible: root.showTime
|
||||
text: MobileShell.SignalStrengthProvider.label
|
||||
color: PlasmaCore.ColorScope.disabledTextColor
|
||||
font.pixelSize: root.textPixelSize * 0.8
|
||||
font.pixelSize: root.smallerTextPixelSize
|
||||
horizontalAlignment: Qt.AlignRight
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@ import org.kde.plasma.core 2.0 as PlasmaCore
|
|||
import org.kde.plasma.components 3.0 as PC3
|
||||
import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
||||
|
||||
import org.kde.kirigami 2.20 as Kirigami
|
||||
|
||||
Item {
|
||||
id: root
|
||||
implicitHeight: clockColumn.implicitHeight
|
||||
|
|
@ -30,11 +28,6 @@ Item {
|
|||
intervalAlignment: PlasmaCore.Types.AlignToMinute
|
||||
}
|
||||
|
||||
Kirigami.ImageColors {
|
||||
id: imageColors
|
||||
source: wallpaper
|
||||
}
|
||||
|
||||
DropShadow {
|
||||
anchors.fill: parent
|
||||
source: clockColumn
|
||||
|
|
|
|||
Loading…
Reference in a new issue