mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 12:39:06 +08:00
Fix theming of back button in Marketplace
Give it a bit more space for if the translated text is wider, and if it is wider also align it properly with the arrow. Contributes to issue CURA-6025.
This commit is contained in:
parent
346c820959
commit
7ef8287e52
@ -61,8 +61,13 @@ Item
|
|||||||
id: labelStyle
|
id: labelStyle
|
||||||
text: control.text
|
text: control.text
|
||||||
color: control.enabled ? (control.hovered ? UM.Theme.getColor("primary") : UM.Theme.getColor("text")) : UM.Theme.getColor("text_inactive")
|
color: control.enabled ? (control.hovered ? UM.Theme.getColor("primary") : UM.Theme.getColor("text")) : UM.Theme.getColor("text_inactive")
|
||||||
font: UM.Theme.getFont("default_bold")
|
font: UM.Theme.getFont("medium_bold")
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignLeft
|
||||||
|
anchors
|
||||||
|
{
|
||||||
|
left: parent.left
|
||||||
|
leftMargin: UM.Theme.getSize("default_margin").width
|
||||||
|
}
|
||||||
width: control.width
|
width: control.width
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ ScrollView
|
|||||||
width: page.width
|
width: page.width
|
||||||
text: catalog.i18nc("@title:tab", "Plugins")
|
text: catalog.i18nc("@title:tab", "Plugins")
|
||||||
color: UM.Theme.getColor("text_medium")
|
color: UM.Theme.getColor("text_medium")
|
||||||
font: UM.Theme.getFont("medium")
|
font: UM.Theme.getFont("large")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
Rectangle
|
Rectangle
|
||||||
|
@ -487,7 +487,7 @@
|
|||||||
"toolbox_detail_header": [1.0, 14.0],
|
"toolbox_detail_header": [1.0, 14.0],
|
||||||
"toolbox_detail_tile": [1.0, 8.0],
|
"toolbox_detail_tile": [1.0, 8.0],
|
||||||
"toolbox_back_column": [6.0, 1.0],
|
"toolbox_back_column": [6.0, 1.0],
|
||||||
"toolbox_back_button": [4.0, 2.0],
|
"toolbox_back_button": [6.0, 2.0],
|
||||||
"toolbox_installed_tile": [1.0, 8.0],
|
"toolbox_installed_tile": [1.0, 8.0],
|
||||||
"toolbox_property_label": [1.0, 2.0],
|
"toolbox_property_label": [1.0, 2.0],
|
||||||
"toolbox_heading_label": [1.0, 3.8],
|
"toolbox_heading_label": [1.0, 3.8],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user