feat: add config option to hide top bar
This commit is contained in:
1
Main.qml
1
Main.qml
@@ -376,6 +376,7 @@ Rectangle {
|
|||||||
anchors.top: parent.top;
|
anchors.top: parent.top;
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
visible: config.showTopBar != "false"
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
id: row_left
|
id: row_left
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ You can change a few settings in this file
|
|||||||
- `showClearPasswordButton` - if set to false will hide the clear password button that appears when text is inputed
|
- `showClearPasswordButton` - if set to false will hide the clear password button that appears when text is inputed
|
||||||
- `passwordLeftMargin` and `usernameLeftMargin` - set margin between input boxes and labels, some fonts are messy and allows fixing of overlap
|
- `passwordLeftMargin` and `usernameLeftMargin` - set margin between input boxes and labels, some fonts are messy and allows fixing of overlap
|
||||||
- `relativePositionX` and `relativePositionY` - position the login text box and clock
|
- `relativePositionX` and `relativePositionY` - position the login text box and clock
|
||||||
|
- `showTopBar` - if set to false will hide the wm/keyboard top bar
|
||||||
|
|
||||||
Example config (not the same as the screenshots):
|
Example config (not the same as the screenshots):
|
||||||
|
|
||||||
@@ -67,6 +68,7 @@ displayFont="Misc Fixed"
|
|||||||
showLoginButton=false
|
showLoginButton=false
|
||||||
passwordLeftMargin=15
|
passwordLeftMargin=15
|
||||||
usernameLeftMargin=15
|
usernameLeftMargin=15
|
||||||
|
showTopBar=true
|
||||||
```
|
```
|
||||||
|
|
||||||
## Preview
|
## Preview
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ passwordLeftMargin=15
|
|||||||
usernameLeftMargin=15
|
usernameLeftMargin=15
|
||||||
relativePositionX=0.3
|
relativePositionX=0.3
|
||||||
relativePositionY=0.7
|
relativePositionY=0.7
|
||||||
|
showTopBar=true
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ relativePositionY=0.75
|
|||||||
showLoginButton=false
|
showLoginButton=false
|
||||||
type=color
|
type=color
|
||||||
usernameLeftMargin=15
|
usernameLeftMargin=15
|
||||||
|
showTopBar=true
|
||||||
|
|||||||
Reference in New Issue
Block a user