Skip to content

Commit

Permalink
Add scrollable area around text messages
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Aug 18, 2023
1 parent 0432b76 commit a3d6645
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 54 deletions.
4 changes: 2 additions & 2 deletions plugins/Marketplace/resources/qml/LicenseDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import QtQuick.Window 2.2
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3

import UM 1.6 as UM
import UM 1.7 as UM
import Cura 1.6 as Cura

UM.Dialog
Expand Down Expand Up @@ -52,7 +52,7 @@ UM.Dialog
}
}

Cura.ScrollableTextArea
UM.ScrollableTextArea
{
Layout.fillWidth: true
Layout.fillHeight: true
Expand Down
4 changes: 2 additions & 2 deletions plugins/Marketplace/resources/qml/MultipleLicenseDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import QtQuick.Window 2.2
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3

import UM 1.5 as UM
import UM 1.7 as UM
import Cura 1.6 as Cura

UM.Dialog
Expand Down Expand Up @@ -66,7 +66,7 @@ UM.Dialog
}
}

Cura.ScrollableTextArea
UM.ScrollableTextArea
{
Layout.fillWidth: true
Layout.fillHeight: true
Expand Down
4 changes: 2 additions & 2 deletions plugins/SliceInfoPlugin/MoreInfoWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Window 2.2

import UM 1.5 as UM
import UM 1.7 as UM
import Cura 1.1 as Cura

Window
Expand Down Expand Up @@ -74,7 +74,7 @@ Window
wrapMode: Text.WordWrap
}

Cura.ScrollableTextArea
UM.ScrollableTextArea
{
anchors
{
Expand Down
4 changes: 2 additions & 2 deletions resources/qml/WelcomePages/ChangelogContent.qml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import QtQuick 2.10
import QtQuick.Controls 2.3

import UM 1.5 as UM
import UM 1.7 as UM
import Cura 1.1 as Cura


Expand All @@ -26,7 +26,7 @@ Item
font: UM.Theme.getFont("huge")
}

Cura.ScrollableTextArea
UM.ScrollableTextArea
{
id: changelogTextArea

Expand Down
4 changes: 2 additions & 2 deletions resources/qml/WelcomePages/WhatsNewContent.qml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3

import UM 1.5 as UM
import UM 1.7 as UM
import Cura 1.1 as Cura


Expand Down Expand Up @@ -90,7 +90,7 @@ Item
source: manager.getSubpageImageSource(index)
}

Cura.ScrollableTextArea
UM.ScrollableTextArea
{
id: subpageText

Expand Down
44 changes: 0 additions & 44 deletions resources/qml/Widgets/ScrollableTextArea.qml

This file was deleted.

0 comments on commit a3d6645

Please sign in to comment.