mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-21 09:36:51 +00:00
Fix IE SettingsView: change Rectangle to ScrollView
This commit is contained in:
committed by
James Houlahan
parent
805544ffb0
commit
be583c431e
@ -20,17 +20,20 @@
|
|||||||
import QtQuick 2.8
|
import QtQuick 2.8
|
||||||
import ProtonUI 1.0
|
import ProtonUI 1.0
|
||||||
import ImportExportUI 1.0
|
import ImportExportUI 1.0
|
||||||
|
import QtQuick.Controls 2.4
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
// must have wrapper
|
// must have wrapper
|
||||||
Rectangle {
|
ScrollView {
|
||||||
id: wrapper
|
id: wrapper
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: parent.height
|
height: parent.height
|
||||||
color: Style.main.background
|
background: Rectangle {
|
||||||
|
color: Style.main.background
|
||||||
|
}
|
||||||
|
|
||||||
// horizontall scrollbar sometimes showes up when vertical scrollbar coveres content
|
// horizontall scrollbar sometimes showes up when vertical scrollbar coveres content
|
||||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||||
|
|||||||
Reference in New Issue
Block a user