Skip to content

Commit ab8549a

Browse files
committed
Fix long material name handling
1 parent 2e0b727 commit ab8549a

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

resources/qml/ExtruderTabs40.qml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ TabRow
6161
font: UM.Theme.getFont("default")
6262
color: UM.Theme.getColor("text")
6363
renderType: Text.NativeRendering
64-
64+
wrapMode: Text.NoWrap
6565
visible: hasMaterials
6666

6767
anchors
@@ -79,13 +79,13 @@ TabRow
7979
{
8080
id: variantLabel
8181

82-
visible: hasVariants
83-
8482
text: model.variant
8583
elide: Text.ElideRight
8684
font: UM.Theme.getFont("default_bold")
8785
color: UM.Theme.getColor("text")
8886
renderType: Text.NativeRendering
87+
wrapMode: Text.NoWrap
88+
visible: hasVariants
8989

9090
anchors
9191
{

resources/qml/ExtruderTabs411.qml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ TabRow
6161
font: UM.Theme.getFont("default")
6262
color: UM.Theme.getColor("text")
6363
renderType: Text.NativeRendering
64-
64+
wrapMode: Text.NoWrap
6565
visible: hasMaterials
6666

6767
anchors
@@ -79,13 +79,13 @@ TabRow
7979
{
8080
id: variantLabel
8181

82-
visible: hasVariants
83-
8482
text: model.variant
8583
elide: Text.ElideRight
8684
font: UM.Theme.getFont("default_bold")
8785
color: UM.Theme.getColor("text")
8886
renderType: Text.NativeRendering
87+
wrapMode: Text.NoWrap
88+
visible: hasVariants
8989

9090
anchors
9191
{

resources/qml/ExtruderTabs50.qml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ TabRow
4949
elide: Text.ElideRight
5050
font: UM.Theme.getFont("default")
5151
color: UM.Theme.getColor("text")
52-
renderType: Text.NativeRendering
53-
52+
wrapMode: Text.NoWrap
5453
visible: hasMaterials
5554

5655
anchors
@@ -68,13 +67,12 @@ TabRow
6867
{
6968
id: variantLabel
7069

71-
visible: hasVariants
72-
7370
text: model.variant
7471
elide: Text.ElideRight
7572
font: UM.Theme.getFont("default_bold")
7673
color: UM.Theme.getColor("text")
77-
renderType: Text.NativeRendering
74+
wrapMode: Text.NoWrap
75+
visible: hasVariants
7876

7977
anchors
8078
{

0 commit comments

Comments
 (0)