@@ -12,6 +12,8 @@ Rectangle {
12
12
id: settings_form
13
13
14
14
property int eeInt : 0
15
+ // size of the elements in the left bar - e.g. what allows switching between all the tabs
16
+ property int left_sidebar_elements_height: 46
15
17
16
18
function openSettings () {
17
19
visible = true
@@ -108,7 +110,7 @@ Rectangle {
108
110
109
111
// QOpenHD Settings - AppSettingsPanel
110
112
Item {
111
- height: 48
113
+ height: left_sidebar_elements_height
112
114
width: parent .width
113
115
114
116
Button{
@@ -156,7 +158,7 @@ Rectangle {
156
158
157
159
// OpenHD Settings - MavlinkAllSettingsPanel
158
160
Item {
159
- height: 48
161
+ height: left_sidebar_elements_height
160
162
width: parent .width
161
163
Button{
162
164
id: openhdSettingsBtn
@@ -203,7 +205,7 @@ Rectangle {
203
205
204
206
// Log
205
207
Item {
206
- height: 48
208
+ height: left_sidebar_elements_height
207
209
width: parent .width
208
210
visible: true
209
211
Button{
@@ -252,7 +254,7 @@ Rectangle {
252
254
253
255
// Power
254
256
Item {
255
- height: 48
257
+ height: left_sidebar_elements_height
256
258
width: parent .width
257
259
Button{
258
260
id: powerSettingsBtn
@@ -300,7 +302,7 @@ Rectangle {
300
302
301
303
// About
302
304
Item {
303
- height: 48
305
+ height: left_sidebar_elements_height
304
306
width: parent .width
305
307
Button{
306
308
id: aboutBtn
@@ -355,7 +357,7 @@ Rectangle {
355
357
356
358
// RC
357
359
Item {
358
- height: 48
360
+ height: left_sidebar_elements_height
359
361
width: parent .width
360
362
Button{
361
363
id: rcSettingsBtn
@@ -404,7 +406,7 @@ Rectangle {
404
406
405
407
// Developer stats
406
408
Item {
407
- height: 48
409
+ height: left_sidebar_elements_height
408
410
width: parent .width
409
411
Button{
410
412
id: devStatsBtn
@@ -452,7 +454,7 @@ Rectangle {
452
454
453
455
// connect (on android)
454
456
Item {
455
- height: 48
457
+ height: left_sidebar_elements_height
456
458
width: parent .width
457
459
// only show on android to not confuse users
458
460
visible: _qopenhd .is_android ()
@@ -503,7 +505,7 @@ Rectangle {
503
505
Item {
504
506
id: eeItem
505
507
visible: false
506
- height: 48
508
+ height: left_sidebar_elements_height
507
509
width: parent .width
508
510
Button{
509
511
id: eeBtn
0 commit comments