File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,13 @@ Dialog {
12
12
id: root
13
13
title: qsTranslate (" RDM" ," Settings" )
14
14
15
- contentItem: Item {
15
+ contentItem: Rectangle {
16
16
id: dialogRoot
17
17
implicitWidth: 800
18
- implicitHeight: PlatformUtils .isOSX ()? 680 : Math .min (750 , Screen .desktopAvailableHeight - 100 )
18
+ implicitHeight: PlatformUtils .isOSX ()? 680 : approot .height
19
+
20
+ border .color : " #eeeeee"
21
+ border .width : 1
19
22
20
23
Item {
21
24
anchors .fill : parent
@@ -27,8 +30,9 @@ Dialog {
27
30
height: parent .height
28
31
29
32
ColumnLayout {
33
+ id: innerLayout
30
34
width: globalSettingsScrollView .width - 20
31
- height: children .height
35
+ height: ( dialogRoot .height - 50 > implicitHeight) ? dialogRoot . height - 50 : implicitHeight
32
36
33
37
SettingsGroupTitle {
34
38
text: qsTranslate (" RDM" ," General" )
@@ -146,6 +150,7 @@ Dialog {
146
150
147
151
TableView {
148
152
Layout .fillWidth : true
153
+ Layout .fillHeight : true
149
154
verticalScrollBarPolicy: Qt .ScrollBarAlwaysOn
150
155
151
156
TableViewColumn {
You can’t perform that action at this time.
0 commit comments