mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Fixed some minor qml issues with userOperations popup
This commit is contained in:
parent
9cc4665db8
commit
c9a4f0c8b1
1 changed files with 3 additions and 10 deletions
|
@ -9,10 +9,9 @@ import Cura 1.1 as Cura
|
|||
|
||||
Column
|
||||
{
|
||||
width: Math.max(title.width,
|
||||
accountButton.width) * 1.5
|
||||
width: Math.max(title.width, accountButton.width) + 2 * UM.Theme.getSize("default_margin").width
|
||||
|
||||
spacing: UM.Theme.getSize("default_margin").width
|
||||
spacing: UM.Theme.getSize("default_margin").height
|
||||
|
||||
Label
|
||||
{
|
||||
|
@ -20,17 +19,11 @@ Column
|
|||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
renderType: Text.NativeRendering
|
||||
text: catalog.i18nc("@label The argument is a username.", "Hi %1").format(profile.username)
|
||||
text: catalog.i18nc("@label The argument is a username.", "Hi %1").arg(profile.username)
|
||||
font: UM.Theme.getFont("large_bold")
|
||||
color: UM.Theme.getColor("text")
|
||||
}
|
||||
|
||||
// placeholder
|
||||
Label
|
||||
{
|
||||
text: " "
|
||||
}
|
||||
|
||||
Cura.SecondaryButton
|
||||
{
|
||||
id: accountButton
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue