added margin for scrollbars for almost all flickable elements

This commit is contained in:
vladimir.kuznetsov 2022-12-26 19:07:05 +03:00
parent 804a790392
commit fd905ef308
15 changed files with 27 additions and 21 deletions

View file

@ -4,7 +4,7 @@ import Qt.labs.platform 1.0
import "../Config"
Flickable
FlickableType
{
property alias textArea: root
id: flickable

View file

@ -174,10 +174,6 @@ PageBase {
}
}
FlickableType {
visible: container_selector.selectedIndex <= 0
clip: true

View file

@ -29,7 +29,7 @@ PageBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -40,6 +40,7 @@ PageBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
RadioButtonType {
id: radioButton_setup_wizard_high

View file

@ -29,7 +29,7 @@ PageBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -40,6 +40,7 @@ PageBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
LabelType {
Layout.fillWidth: true

View file

@ -29,7 +29,7 @@ PageBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -40,6 +40,7 @@ PageBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
LabelType {
Layout.fillWidth: true

View file

@ -29,7 +29,7 @@ PageBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -40,6 +40,7 @@ PageBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
LabelType {
Layout.fillWidth: true

View file

@ -29,7 +29,7 @@ PageBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -40,6 +40,7 @@ PageBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
LabelType {
Layout.fillWidth: true

View file

@ -30,7 +30,7 @@ PageBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -41,6 +41,7 @@ PageBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
TextAreaType {
id: ta_config

View file

@ -29,7 +29,7 @@ PageProtocolBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -40,7 +40,7 @@ PageProtocolBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
LabelType {
id: lb_subnet

View file

@ -28,7 +28,7 @@ PageShareProtocolBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height + 20
clip: true
@ -46,6 +46,7 @@ PageShareProtocolBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
Text {
id: lb_desc

View file

@ -28,7 +28,7 @@ PageShareProtocolBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -39,7 +39,7 @@ PageShareProtocolBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
LabelType {
id: lb_desc

View file

@ -52,7 +52,7 @@ PageShareProtocolBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -63,6 +63,7 @@ PageShareProtocolBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
// LabelType {
// id: lb_desc

View file

@ -28,7 +28,7 @@ PageShareProtocolBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -39,7 +39,7 @@ PageShareProtocolBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
LabelType {
id: lb_desc

View file

@ -28,7 +28,7 @@ PageShareProtocolBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -39,6 +39,7 @@ PageShareProtocolBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
LabelType {
id: lb_desc

View file

@ -28,7 +28,7 @@ PageShareProtocolBase {
anchors.left: root.left
anchors.leftMargin: 30
anchors.right: root.right
anchors.rightMargin: 30
anchors.rightMargin: 15
contentHeight: content.height
clip: true
@ -39,6 +39,7 @@ PageShareProtocolBase {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.rightMargin: 15
LabelType {
id: lb_desc