Adjust PopupTips size

pull/3/head
cutefishd 5 years ago
parent ffe53008ff
commit 6f87713b78

@ -13,7 +13,7 @@ FishUI.MenuPopupWindow {
anchors.fill: parent
// opacity: 0.6
// color: FishUI.Theme.backgroundColor
// radius: FishUI.Theme.mediumRadius
radius: FishUI.Theme.hugeRadius
backgroundOpacity: 0.6
FishUI.WindowShadow {

@ -14,8 +14,8 @@ Window {
property alias backgroundColor: _background.color
flags: Qt.WindowStaysOnTopHint | Qt.WindowDoesNotAcceptFocus | Qt.ToolTip
width: label.implicitWidth + FishUI.Units.largeSpacing
height: FishUI.Units.fontMetrics.height + FishUI.Units.largeSpacing
width: label.implicitWidth + FishUI.Units.largeSpacing * 1.5
height: FishUI.Units.fontMetrics.height + FishUI.Units.largeSpacing * 1.5
FishUI.WindowShadow {
view: control

Loading…
Cancel
Save