mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Tweak margins of print monitor
This commit is contained in:
parent
cd483882eb
commit
038c736756
1 changed files with 17 additions and 6 deletions
|
@ -20,13 +20,21 @@ Column
|
||||||
simpleNames: true
|
simpleNames: true
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Item
|
||||||
{
|
{
|
||||||
text: printerConnected ? connectedPrinter.connectionText : catalog.i18nc("@info:status", "The printer is not connected.")
|
width: base.width - 2 * UM.Theme.getSize("default_margin").width
|
||||||
color: printerConnected && printerAcceptsCommands ? UM.Theme.getColor("setting_control_text") : UM.Theme.getColor("setting_control_disabled_text")
|
height: childrenRect.height + UM.Theme.getSize("default_margin").height
|
||||||
font: UM.Theme.getFont("default")
|
anchors.left: parent.left
|
||||||
wrapMode: Text.WordWrap
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||||
width: base.width
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
text: printerConnected ? connectedPrinter.connectionText : catalog.i18nc("@info:status", "The printer is not connected.")
|
||||||
|
color: printerConnected && printerAcceptsCommands ? UM.Theme.getColor("setting_control_text") : UM.Theme.getColor("setting_control_disabled_text")
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
|
wrapMode: Text.WordWrap
|
||||||
|
width: parent.width
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Loader
|
Loader
|
||||||
|
@ -87,6 +95,9 @@ Column
|
||||||
{
|
{
|
||||||
height: UM.Theme.getSize("setting_control").height
|
height: UM.Theme.getSize("setting_control").height
|
||||||
width: base.width - 2 * UM.Theme.getSize("default_margin").width
|
width: base.width - 2 * UM.Theme.getSize("default_margin").width
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
width: parent.width * 0.4
|
width: parent.width * 0.4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue