Small improvements
This commit is contained in:
parent
f79dbd8f06
commit
337606b6e3
2 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ Item {
|
||||||
control.mapToGlobal(0, 0).y + (control.height / 2 - popupTips.height / 2))
|
control.mapToGlobal(0, 0).y + (control.height / 2 - popupTips.height / 2))
|
||||||
else
|
else
|
||||||
popupTips.position = Qt.point(control.mapToGlobal(0, 0).x + (control.width / 2 - popupTips.width / 2),
|
popupTips.position = Qt.point(control.mapToGlobal(0, 0).x + (control.width / 2 - popupTips.width / 2),
|
||||||
control.mapToGlobal(0, 0).y - popupTips.height - Meui.Units.smallSpacing / 2)
|
control.mapToGlobal(0, 0).y - popupTips.height - Meui.Units.smallSpacing)
|
||||||
|
|
||||||
popupTips.show()
|
popupTips.show()
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -12,7 +12,7 @@ Item {
|
||||||
|
|
||||||
property color borderColor: Meui.Theme.darkMode ? Qt.rgba(255, 255, 255, 0.1) : Qt.rgba(0, 0, 0, 0.05)
|
property color borderColor: Meui.Theme.darkMode ? Qt.rgba(255, 255, 255, 0.1) : Qt.rgba(0, 0, 0, 0.05)
|
||||||
property bool isHorizontal: Settings.direction === DockSettings.Bottom
|
property bool isHorizontal: Settings.direction === DockSettings.Bottom
|
||||||
property real windowRadius: isHorizontal ? root.height * 0.25 : root.width * 0.25
|
property real windowRadius: isHorizontal ? root.height * 0.24 : root.width * 0.24
|
||||||
|
|
||||||
DropArea {
|
DropArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
Loading…
Reference in a new issue