mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Fix GCode text bug when resizing
CURA-10896
This commit is contained in:
parent
742e11327e
commit
c7fde54f3d
1 changed files with 2 additions and 1 deletions
|
@ -55,6 +55,7 @@ UM.TooltipArea
|
||||||
}
|
}
|
||||||
|
|
||||||
ScrollBar.vertical: UM.ScrollBar {}
|
ScrollBar.vertical: UM.ScrollBar {}
|
||||||
|
clip: true
|
||||||
|
|
||||||
TextArea.flickable: TextArea
|
TextArea.flickable: TextArea
|
||||||
{
|
{
|
||||||
|
@ -70,6 +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.
|
||||||
|
|
||||||
onActiveFocusChanged:
|
onActiveFocusChanged:
|
||||||
{
|
{
|
||||||
|
@ -82,7 +84,6 @@ UM.TooltipArea
|
||||||
background: Rectangle
|
background: Rectangle
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: -border.width //Wrap the border around the parent.
|
|
||||||
|
|
||||||
color: UM.Theme.getColor("detail_background")
|
color: UM.Theme.getColor("detail_background")
|
||||||
border.color:
|
border.color:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue