mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
Set button default width and height
This commit is contained in:
parent
905b1d6556
commit
5138683784
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ Item
|
||||||
property int borderRadius
|
property int borderRadius
|
||||||
property int innerMargin: 10
|
property int innerMargin: 10
|
||||||
|
|
||||||
|
height: 50
|
||||||
|
width: innerText.width + innerMargin + innerMargin
|
||||||
|
|
||||||
scale: state === "Pressed" ? 0.96 : 1.0
|
scale: state === "Pressed" ? 0.96 : 1.0
|
||||||
onEnabledChanged: state = ""
|
onEnabledChanged: state = ""
|
||||||
signal clicked
|
signal clicked
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue