mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
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:
parent
a3d664571a
commit
0c405288e0
6 changed files with 19 additions and 5 deletions
|
@ -52,7 +52,7 @@ UM.Dialog
|
|||
}
|
||||
}
|
||||
|
||||
UM.ScrollableTextArea
|
||||
Cura.ScrollableTextArea
|
||||
{
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
|
|
@ -66,7 +66,7 @@ UM.Dialog
|
|||
}
|
||||
}
|
||||
|
||||
UM.ScrollableTextArea
|
||||
Cura.ScrollableTextArea
|
||||
{
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
|
|
@ -74,7 +74,7 @@ Window
|
|||
wrapMode: Text.WordWrap
|
||||
}
|
||||
|
||||
UM.ScrollableTextArea
|
||||
Cura.ScrollableTextArea
|
||||
{
|
||||
anchors
|
||||
{
|
||||
|
|
|
@ -26,7 +26,7 @@ Item
|
|||
font: UM.Theme.getFont("huge")
|
||||
}
|
||||
|
||||
UM.ScrollableTextArea
|
||||
Cura.ScrollableTextArea
|
||||
{
|
||||
id: changelogTextArea
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ Item
|
|||
source: manager.getSubpageImageSource(index)
|
||||
}
|
||||
|
||||
UM.ScrollableTextArea
|
||||
Cura.ScrollableTextArea
|
||||
{
|
||||
id: subpageText
|
||||
|
||||
|
|
14
resources/qml/Widgets/ScrollableTextArea.qml
Normal file
14
resources/qml/Widgets/ScrollableTextArea.qml
Normal 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
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue