mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 05:09:00 +08: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
@ -52,7 +52,7 @@ UM.Dialog
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.ScrollableTextArea
|
Cura.ScrollableTextArea
|
||||||
{
|
{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
@ -66,7 +66,7 @@ UM.Dialog
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.ScrollableTextArea
|
Cura.ScrollableTextArea
|
||||||
{
|
{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
@ -74,7 +74,7 @@ Window
|
|||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.ScrollableTextArea
|
Cura.ScrollableTextArea
|
||||||
{
|
{
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@ Item
|
|||||||
font: UM.Theme.getFont("huge")
|
font: UM.Theme.getFont("huge")
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.ScrollableTextArea
|
Cura.ScrollableTextArea
|
||||||
{
|
{
|
||||||
id: changelogTextArea
|
id: changelogTextArea
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ Item
|
|||||||
source: manager.getSubpageImageSource(index)
|
source: manager.getSubpageImageSource(index)
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.ScrollableTextArea
|
Cura.ScrollableTextArea
|
||||||
{
|
{
|
||||||
id: subpageText
|
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…
x
Reference in New Issue
Block a user