mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
added margin for scrollbars for almost all flickable elements
This commit is contained in:
@@ -4,7 +4,7 @@ import Qt.labs.platform 1.0
|
||||
|
||||
import "../Config"
|
||||
|
||||
Flickable
|
||||
FlickableType
|
||||
{
|
||||
property alias textArea: root
|
||||
id: flickable
|
||||
|
||||
@@ -174,10 +174,6 @@ PageBase {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
FlickableType {
|
||||
visible: container_selector.selectedIndex <= 0
|
||||
clip: true
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user