mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Move background to ScrollView for GcodeTextArea
This commit is contained in:
parent
5280ec4af5
commit
d1805d34be
1 changed files with 19 additions and 19 deletions
|
@ -53,19 +53,6 @@ UM.TooltipArea
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
|
||||||
TextArea
|
|
||||||
{
|
|
||||||
id: gcodeTextArea
|
|
||||||
|
|
||||||
hoverEnabled: true
|
|
||||||
selectByMouse: true
|
|
||||||
|
|
||||||
text: (propertyProvider.properties.value) ? propertyProvider.properties.value : ""
|
|
||||||
font: UM.Theme.getFont("fixed")
|
|
||||||
renderType: Text.NativeRendering
|
|
||||||
color: UM.Theme.getColor("text")
|
|
||||||
wrapMode: TextEdit.NoWrap
|
|
||||||
|
|
||||||
background: Rectangle
|
background: Rectangle
|
||||||
{
|
{
|
||||||
color: UM.Theme.getColor("main_background")
|
color: UM.Theme.getColor("main_background")
|
||||||
|
@ -85,6 +72,19 @@ UM.TooltipArea
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TextArea
|
||||||
|
{
|
||||||
|
id: gcodeTextArea
|
||||||
|
|
||||||
|
hoverEnabled: true
|
||||||
|
selectByMouse: true
|
||||||
|
|
||||||
|
text: (propertyProvider.properties.value) ? propertyProvider.properties.value : ""
|
||||||
|
font: UM.Theme.getFont("fixed")
|
||||||
|
renderType: Text.NativeRendering
|
||||||
|
color: UM.Theme.getColor("text")
|
||||||
|
wrapMode: TextEdit.NoWrap
|
||||||
|
|
||||||
onActiveFocusChanged:
|
onActiveFocusChanged:
|
||||||
{
|
{
|
||||||
if (!activeFocus)
|
if (!activeFocus)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue