Fix IE SettingsView: change Rectangle to ScrollView

This commit is contained in:
Alexander Bilyak
2020-12-29 11:51:18 +01:00
committed by James Houlahan
parent 805544ffb0
commit be583c431e

View File

@ -20,17 +20,20 @@
import QtQuick 2.8
import ProtonUI 1.0
import ImportExportUI 1.0
import QtQuick.Controls 2.4
Item {
id: root
// must have wrapper
Rectangle {
ScrollView {
id: wrapper
anchors.centerIn: parent
width: parent.width
height: parent.height
color: Style.main.background
background: Rectangle {
color: Style.main.background
}
// horizontall scrollbar sometimes showes up when vertical scrollbar coveres content
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff