Add bar position
This commit is contained in:
parent
1564992442
commit
7b26ddaa32
11 changed files with 72 additions and 14 deletions
|
|
@ -73,10 +73,14 @@ NLoader {
|
|||
border.width: Math.max(1, Style.borderS * scaling)
|
||||
width: 380 * scaling
|
||||
height: 500 * scaling
|
||||
anchors.top: parent.top
|
||||
anchors.right: parent.right
|
||||
anchors.topMargin: Style.marginXS * scaling
|
||||
anchors.rightMargin: Style.marginXS * scaling
|
||||
anchors {
|
||||
right: parent.right
|
||||
rightMargin: Style.marginXS * scaling
|
||||
top: Settings.data.bar.barPosition === "top" ? parent.top : undefined
|
||||
bottom: Settings.data.bar.barPosition === "bottom" ? parent.bottom : undefined
|
||||
topMargin: Settings.data.bar.barPosition === "top" ? Style.marginXS * scaling : undefined
|
||||
bottomMargin: Settings.data.bar.barPosition === "bottom" ? Style.barHeight * scaling + Style.marginXS * scaling : undefined
|
||||
}
|
||||
|
||||
// Animation properties
|
||||
property real scaleValue: 0.8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue