mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06:00
Make some items' size dependent on parent's. Also make the ActionButton
more themable. Contributes to CURA-5784.
This commit is contained in:
parent
0a07f48375
commit
fdfa81b2b8
4 changed files with 14 additions and 11 deletions
|
@ -30,6 +30,7 @@ Column
|
|||
id: information
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
renderType: Text.NativeRendering
|
||||
text: loggedIn ? profile["username"] : catalog.i18nc("@label", "Please log in or create an account to\nenjoy all features of Ultimaker Cura.")
|
||||
font: loggedIn ? UM.Theme.getFont("large") : UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
|
|
|
@ -21,7 +21,6 @@ Button
|
|||
{
|
||||
id: avatar
|
||||
|
||||
|
||||
width: Math.round(0.8 * parent.width)
|
||||
height: Math.round(0.8 * parent.height)
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue