Fix main pane minimum size
This commit is contained in:
@@ -8,7 +8,7 @@ Button {
|
||||
id: button
|
||||
enabled: ! button.loading
|
||||
spacing: theme.spacing
|
||||
topPadding: padded ? spacing / (circle ? 1.75 : 1.5) : 0
|
||||
topPadding: padded ? spacing / (circle ? 1.75 : 2) : 0
|
||||
bottomPadding: topPadding
|
||||
leftPadding: padded ? spacing / (circle ? 1.5 : 1) : 0
|
||||
rightPadding: leftPadding
|
||||
|
@@ -18,6 +18,9 @@ HButton {
|
||||
property alias contextMenu: contextMenuLoader.sourceComponent
|
||||
|
||||
|
||||
Behavior on topPadding { HNumberAnimation {} }
|
||||
Behavior on bottomPadding { HNumberAnimation {} }
|
||||
|
||||
Binding on topPadding {
|
||||
value: spacing / 4
|
||||
when: compact
|
||||
|
Reference in New Issue
Block a user