Merge pull request #17 from CumpsD/show-top-bar
Make showing top bar configurable
This commit is contained in:
1
Main.qml
1
Main.qml
@@ -376,6 +376,7 @@ Rectangle {
|
||||
anchors.top: parent.top;
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
color: "transparent"
|
||||
visible: config.showTopBar != "false"
|
||||
|
||||
Row {
|
||||
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
|
||||
- `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
|
||||
- `showTopBar` - if set to false will hide the wm/keyboard top bar
|
||||
|
||||
Example config (not the same as the screenshots):
|
||||
|
||||
@@ -67,6 +68,7 @@ displayFont="Misc Fixed"
|
||||
showLoginButton=false
|
||||
passwordLeftMargin=15
|
||||
usernameLeftMargin=15
|
||||
showTopBar=true
|
||||
```
|
||||
|
||||
## Preview
|
||||
|
||||
@@ -8,3 +8,4 @@ passwordLeftMargin=15
|
||||
usernameLeftMargin=15
|
||||
relativePositionX=0.3
|
||||
relativePositionY=0.7
|
||||
showTopBar=true
|
||||
|
||||
@@ -8,3 +8,4 @@ relativePositionY=0.75
|
||||
showLoginButton=false
|
||||
type=color
|
||||
usernameLeftMargin=15
|
||||
showTopBar=true
|
||||
|
||||
Reference in New Issue
Block a user