mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Fix anchoring width of network printer view to scrollbar
You can't anchor to something that's not a parent or sibling, and the scrollbar was an... uncle? Contributes to issue CURA-8686.
This commit is contained in:
parent
7a5db88fd8
commit
0f61e25a77
1 changed files with 1 additions and 2 deletions
|
@ -69,8 +69,7 @@ Item
|
||||||
{
|
{
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||||
anchors.right: networkPrinterScrollBar.left
|
width: parent.width - networkPrinterScrollBar.width - UM.Theme.getSize("default_margin").width
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
|
||||||
height: UM.Theme.getSize("setting_control").height
|
height: UM.Theme.getSize("setting_control").height
|
||||||
text: section
|
text: section
|
||||||
color: UM.Theme.getColor("small_button_text")
|
color: UM.Theme.getColor("small_button_text")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue