Add wrapper to Cura.ScrollableTextArea

Add wrapper to legacy Cura.ScrollableTextArea class which has now moved to Uranium, in order to keep plugins working in case they use it.
CURA-9374
This commit is contained in:
Erwan MATHIEU 2023-08-21 15:50:52 +02:00
parent a3d664571a
commit 0c405288e0
6 changed files with 19 additions and 5 deletions

View file

@ -52,7 +52,7 @@ UM.Dialog
}
}
UM.ScrollableTextArea
Cura.ScrollableTextArea
{
Layout.fillWidth: true
Layout.fillHeight: true

View file

@ -66,7 +66,7 @@ UM.Dialog
}
}
UM.ScrollableTextArea
Cura.ScrollableTextArea
{
Layout.fillWidth: true
Layout.fillHeight: true

View file

@ -74,7 +74,7 @@ Window
wrapMode: Text.WordWrap
}
UM.ScrollableTextArea
Cura.ScrollableTextArea
{
anchors
{

View file

@ -26,7 +26,7 @@ Item
font: UM.Theme.getFont("huge")
}
UM.ScrollableTextArea
Cura.ScrollableTextArea
{
id: changelogTextArea

View file

@ -90,7 +90,7 @@ Item
source: manager.getSubpageImageSource(index)
}
UM.ScrollableTextArea
Cura.ScrollableTextArea
{
id: subpageText

View file

@ -0,0 +1,14 @@
// Copyright (c) 2022 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
import QtQuick 2.10
import QtQuick.Controls 2.3
import UM 1.7 as UM
import Cura 1.1 as Cura
// Wrapper to UM.ScrollableTextArea which was originally placed here
UM.ScrollableTextArea
{
}