Added floaty bar mode, made sidebar texts and Crypto.qml module bold
This commit is contained in:
@@ -10,6 +10,7 @@ Rectangle {
|
||||
property var targetScreen: null
|
||||
property int barHeight: Cfg.Config.barHeight
|
||||
property int barMargin: Cfg.Config.margin
|
||||
property int barEdgePad: Cfg.Config.frameVariant === "bar" ? (Cfg.Config.barPosition === "top" ? Cfg.Config.frameBarPadTop : Cfg.Config.frameBarPadBottom) : 0
|
||||
readonly property var t: Cfg.Config.theme
|
||||
|
||||
property bool moduleEnabled: true
|
||||
|
||||
@@ -56,9 +56,9 @@ PanelWindow {
|
||||
|
||||
anchors.top: chipRoot && chipRoot.isTop ? parent.top : undefined
|
||||
anchors.bottom: chipRoot && chipRoot.isTop ? undefined : parent.bottom
|
||||
anchors.topMargin: chipRoot && chipRoot.isTop ? (chipRoot.barHeight + 10) : 0
|
||||
anchors.bottomMargin: chipRoot && chipRoot.isTop ? 0 : (chipRoot.barHeight + 10)
|
||||
height: chipRoot ? parent.height - chipRoot.barHeight - 10 : parent.height
|
||||
anchors.topMargin: chipRoot && chipRoot.isTop ? (chipRoot.barHeight + chipRoot.barEdgePad + 10) : 0
|
||||
anchors.bottomMargin: chipRoot && chipRoot.isTop ? 0 : (chipRoot.barHeight + chipRoot.barEdgePad + 10)
|
||||
height: chipRoot ? parent.height - chipRoot.barHeight - chipRoot.barEdgePad - 10 : parent.height
|
||||
|
||||
clip: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user