mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-12 01:17:55 +03:00
show StickOnTop/Bottom for vertical basic settings
This commit is contained in:
parent
1a910a73e4
commit
e65c1f6385
@ -35,8 +35,6 @@ Item {
|
||||
readonly property bool containsMouse: rearrangeBtn.containsMouse || stickOnBottomBtn.containsMouse || stickOnTopBtn.containsMouse
|
||||
readonly property int thickness: rearrangeBtn.implicitHeight
|
||||
|
||||
readonly property bool inSettingsAdvancedMode: latteView && latteView.inSettingsAdvancedMode
|
||||
|
||||
readonly property int headMargin: spacing * 2
|
||||
|
||||
rotation: {
|
||||
@ -78,7 +76,7 @@ Item {
|
||||
|
||||
SettingsControls.Button{
|
||||
id: stickOnTopBtn
|
||||
visible: root.isVertical && inSettingsAdvancedMode
|
||||
visible: root.isVertical
|
||||
|
||||
text: i18n("Stick On Top");
|
||||
tooltip: i18n("Stick maximum available space at top screen edge and ignore any top docks or panels")
|
||||
@ -137,7 +135,7 @@ Item {
|
||||
|
||||
SettingsControls.Button{
|
||||
id: stickOnBottomBtn
|
||||
visible: root.isVertical && inSettingsAdvancedMode
|
||||
visible: root.isVertical
|
||||
|
||||
text: i18n("Stick On Bottom");
|
||||
tooltip: i18n("Stick maximum available space at bottom screen edge and ignore any bottom docks or panels")
|
||||
|
Loading…
Reference in New Issue
Block a user