mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 16:24:41 +08:00
Add link text to marketplace search page
Contributes to issue CURA-7071.
This commit is contained in:
parent
1c79193f9a
commit
e51a1b18be
@ -14,18 +14,37 @@ Rectangle
|
|||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
height: childrenRect.height + 2 * padding
|
height: childrenRect.height + 2 * padding
|
||||||
spacing: UM.Theme.getSize("default_margin").width
|
spacing: UM.Theme.getSize("default_margin").height
|
||||||
width: parent.width
|
width: parent.width
|
||||||
padding: UM.Theme.getSize("wide_margin").height
|
padding: UM.Theme.getSize("wide_margin").height
|
||||||
|
Item
|
||||||
|
{
|
||||||
|
width: parent.width - parent.padding * 2
|
||||||
|
height: childrenRect.height
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: heading
|
id: heading
|
||||||
text: catalog.i18nc("@label", "Featured")
|
text: catalog.i18nc("@label", "Featured")
|
||||||
width: parent.width
|
width: contentWidth
|
||||||
|
height: contentHeight
|
||||||
color: UM.Theme.getColor("text_medium")
|
color: UM.Theme.getColor("text_medium")
|
||||||
font: UM.Theme.getFont("large")
|
font: UM.Theme.getFont("large")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: catalog.i18nc("@label", "Search materials")
|
||||||
|
width: parent.width - heading.width
|
||||||
|
height: contentHeight
|
||||||
|
anchors.right: parent.right
|
||||||
|
horizontalAlignment: Text.AlignRight
|
||||||
|
elide: Text.ElideLeft
|
||||||
|
color: UM.Theme.getColor("text_medium")
|
||||||
|
font: UM.Theme.getFont("medium")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
|
visible: toolbox.viewCategory === "material"
|
||||||
|
}
|
||||||
|
}
|
||||||
Grid
|
Grid
|
||||||
{
|
{
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
|
Loading…
x
Reference in New Issue
Block a user