update x value of topbutton when resize window
This commit is contained in:
parent
45dc302de4
commit
da02f49850
2 changed files with 10 additions and 1 deletions
|
@ -5,6 +5,8 @@ import QtQuick.Shapes
|
|||
Popup {
|
||||
id: root
|
||||
|
||||
property alias buttonWidth: button.implicitWidth
|
||||
|
||||
modal: false
|
||||
closePolicy: Popup.NoAutoClose
|
||||
padding: 4
|
||||
|
@ -20,6 +22,8 @@ Popup {
|
|||
}
|
||||
|
||||
ImageButtonType {
|
||||
id: button
|
||||
|
||||
image: "qrc:/images/svg/close_black_24dp.svg"
|
||||
imageColor: "#D7D8DB"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue