Skip to content

Commit

Permalink
Fix long material name handling
Browse files Browse the repository at this point in the history
  • Loading branch information
fieldOfView committed Jul 3, 2023
1 parent 2e0b727 commit ab8549a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions resources/qml/ExtruderTabs40.qml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ TabRow
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering

wrapMode: Text.NoWrap
visible: hasMaterials

anchors
Expand All @@ -79,13 +79,13 @@ TabRow
{
id: variantLabel

visible: hasVariants

text: model.variant
elide: Text.ElideRight
font: UM.Theme.getFont("default_bold")
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering
wrapMode: Text.NoWrap
visible: hasVariants

anchors
{
Expand Down
6 changes: 3 additions & 3 deletions resources/qml/ExtruderTabs411.qml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ TabRow
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering

wrapMode: Text.NoWrap
visible: hasMaterials

anchors
Expand All @@ -79,13 +79,13 @@ TabRow
{
id: variantLabel

visible: hasVariants

text: model.variant
elide: Text.ElideRight
font: UM.Theme.getFont("default_bold")
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering
wrapMode: Text.NoWrap
visible: hasVariants

anchors
{
Expand Down
8 changes: 3 additions & 5 deletions resources/qml/ExtruderTabs50.qml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ TabRow
elide: Text.ElideRight
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering

wrapMode: Text.NoWrap
visible: hasMaterials

anchors
Expand All @@ -68,13 +67,12 @@ TabRow
{
id: variantLabel

visible: hasVariants

text: model.variant
elide: Text.ElideRight
font: UM.Theme.getFont("default_bold")
color: UM.Theme.getColor("text")
renderType: Text.NativeRendering
wrapMode: Text.NoWrap
visible: hasVariants

anchors
{
Expand Down

0 comments on commit ab8549a

Please sign in to comment.