mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 08:28:59 +08:00
Use proper margin for gcode edition area
CURA-10896
This commit is contained in:
parent
4a8a8d35f6
commit
cb3d22a2c0
@ -71,7 +71,7 @@ UM.TooltipArea
|
|||||||
selectionColor: UM.Theme.getColor("text_selection")
|
selectionColor: UM.Theme.getColor("text_selection")
|
||||||
selectedTextColor: UM.Theme.getColor("text")
|
selectedTextColor: UM.Theme.getColor("text")
|
||||||
wrapMode: TextEdit.NoWrap
|
wrapMode: TextEdit.NoWrap
|
||||||
padding: -border.width //Take care of the border width to fit the text.
|
padding: UM.Theme.getSize("narrow_margin").height + backgroundRectangle.border.width
|
||||||
|
|
||||||
onActiveFocusChanged:
|
onActiveFocusChanged:
|
||||||
{
|
{
|
||||||
@ -83,6 +83,8 @@ UM.TooltipArea
|
|||||||
|
|
||||||
background: Rectangle
|
background: Rectangle
|
||||||
{
|
{
|
||||||
|
id: backgroundRectangle
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
color: UM.Theme.getColor("detail_background")
|
color: UM.Theme.getColor("detail_background")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user