mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 18:49:01 +08:00
Fix LayerView layer box width
This commit is contained in:
parent
1479322fbe
commit
72bf073101
@ -353,7 +353,7 @@ Item
|
|||||||
property real minimumRangeHandleSize: UM.Theme.getSize("slider_handle").width / 2
|
property real minimumRangeHandleSize: UM.Theme.getSize("slider_handle").width / 2
|
||||||
property real trackThickness: UM.Theme.getSize("slider_groove").width
|
property real trackThickness: UM.Theme.getSize("slider_groove").width
|
||||||
property real trackRadius: trackThickness / 2
|
property real trackRadius: trackThickness / 2
|
||||||
property real trackBorderWidth: UM.Theme.getSize("default_lining").width / 2
|
property real trackBorderWidth: UM.Theme.getSize("default_lining").width
|
||||||
property color upperHandleColor: UM.Theme.getColor("slider_handle")
|
property color upperHandleColor: UM.Theme.getColor("slider_handle")
|
||||||
property color lowerHandleColor: UM.Theme.getColor("slider_handle")
|
property color lowerHandleColor: UM.Theme.getColor("slider_handle")
|
||||||
property color rangeHandleColor: UM.Theme.getColor("slider_groove_fill")
|
property color rangeHandleColor: UM.Theme.getColor("slider_groove_fill")
|
||||||
@ -602,7 +602,7 @@ Item
|
|||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width / 2;
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width / 2;
|
||||||
anchors.verticalCenter: parent.verticalCenter;
|
anchors.verticalCenter: parent.verticalCenter;
|
||||||
|
|
||||||
width: Math.max(UM.Theme.getSize("line").width * maxValue.length + 2 * screenScaleFactor, 20);
|
width: Math.max(UM.Theme.getSize("line").width * maxValue.length + 2 * screenScaleFactor, 20 * screenScaleFactor);
|
||||||
style: TextFieldStyle
|
style: TextFieldStyle
|
||||||
{
|
{
|
||||||
textColor: UM.Theme.getColor("setting_control_text");
|
textColor: UM.Theme.getColor("setting_control_text");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user