mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-01 01:07:33 +00:00
StatusBar: remove excessive space
This commit is contained in:
parent
843977059b
commit
d375914a8c
1 changed files with 10 additions and 10 deletions
|
|
@ -23,38 +23,38 @@ import org.kde.plasma.private.mobileshell as MobileShell
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether to show a drop shadow under the status bar.
|
* Whether to show a drop shadow under the status bar.
|
||||||
*/
|
*/
|
||||||
property bool showDropShadow: false
|
property bool showDropShadow: false
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The background color of the status bar.
|
* The background color of the status bar.
|
||||||
*/
|
*/
|
||||||
property color backgroundColor: "transparent"
|
property color backgroundColor: "transparent"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether to show a second row of the status bar, with more information.
|
* Whether to show a second row of the status bar, with more information.
|
||||||
*/
|
*/
|
||||||
property bool showSecondRow: false // show extra row with date and mobile provider
|
property bool showSecondRow: false // show extra row with date and mobile provider
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether to show time. If set to false, the signal strength indicator is moved in its place.
|
* Whether to show time. If set to false, the signal strength indicator is moved in its place.
|
||||||
*/
|
*/
|
||||||
property bool showTime: true
|
property bool showTime: true
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Disables showing system tray indicators, preventing SIGABRT when used on the lockscreen.
|
* Disables showing system tray indicators, preventing SIGABRT when used on the lockscreen.
|
||||||
*/
|
*/
|
||||||
property bool disableSystemTray: false
|
property bool disableSystemTray: false
|
||||||
|
|
||||||
property color colorScopeColor: Kirigami.Theme.backgroundColor
|
property color colorScopeColor: Kirigami.Theme.backgroundColor
|
||||||
|
|
||||||
readonly property real textPixelSize: 11
|
readonly property real textPixelSize: 11
|
||||||
readonly property real smallerTextPixelSize: 9
|
readonly property real smallerTextPixelSize: 9
|
||||||
readonly property real elementSpacing: Kirigami.Units.smallSpacing * 1.5
|
readonly property real elementSpacing: Kirigami.Units.smallSpacing * 1.5
|
||||||
|
|
||||||
P5Support.DataSource {
|
P5Support.DataSource {
|
||||||
id: timeSource
|
id: timeSource
|
||||||
engine: "time"
|
engine: "time"
|
||||||
|
|
@ -62,9 +62,9 @@ Item {
|
||||||
interval: 60 * 1000
|
interval: 60 * 1000
|
||||||
intervalAlignment: P5Support.Types.AlignToMinute
|
intervalAlignment: P5Support.Types.AlignToMinute
|
||||||
}
|
}
|
||||||
|
|
||||||
property alias statusNotifierSource: statusNotifierSourceLoader.item
|
property alias statusNotifierSource: statusNotifierSourceLoader.item
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: statusNotifierSourceLoader
|
id: statusNotifierSourceLoader
|
||||||
active: !disableSystemTray
|
active: !disableSystemTray
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue