mirror of
https://github.com/QRouland/UTPass.git
synced 2025-06-24 14:35:40 +00:00
Fix style command
This commit is contained in:
@ -4,18 +4,14 @@ import QtQuick 2.4
|
||||
|
||||
Rectangle {
|
||||
property bool commonBorder: true
|
||||
|
||||
property int lBorderwidth: 1
|
||||
property int rBorderwidth: 1
|
||||
property int tBorderwidth: 1
|
||||
property int bBorderwidth: 1
|
||||
|
||||
property int commonBorderWidth: 1
|
||||
|
||||
z: -1
|
||||
|
||||
property string borderColor: "white"
|
||||
|
||||
z: -1
|
||||
color: borderColor
|
||||
|
||||
anchors {
|
||||
@ -23,10 +19,10 @@ Rectangle {
|
||||
right: parent.right
|
||||
top: parent.top
|
||||
bottom: parent.bottom
|
||||
|
||||
topMargin: commonBorder ? -commonBorderWidth : -tBorderwidth
|
||||
bottomMargin: commonBorder ? -commonBorderWidth : -bBorderwidth
|
||||
leftMargin: commonBorder ? -commonBorderWidth : -lBorderwidth
|
||||
rightMargin: commonBorder ? -commonBorderWidth : -rBorderwidth
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user