mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-08 17:47:27 -04:00
fix dynamic button width
This commit is contained in:
@@ -43,8 +43,8 @@ Item {
|
||||
signal clicked()
|
||||
|
||||
// Dynamic label width
|
||||
width: label.contentWidth + 20
|
||||
Layout.minimumWidth: 100
|
||||
Layout.minimumWidth: (label.contentWidth > 100)? label.contentWidth + 20 : 100
|
||||
|
||||
|
||||
|
||||
Rectangle {
|
||||
|
||||
Reference in New Issue
Block a user