Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
59b32fd7
Commit
59b32fd7
authored
Feb 17, 2015
by
Don Gagne
Browse files
Resize setup view to fill space available
parent
59aca962
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/VehicleSetup/SetupView.cc
View file @
59b32fd7
...
...
@@ -110,7 +110,7 @@ void SetupView::_changeSetupWidget(QWidget* newWidget)
delete
_currentSetupWidget
;
}
_currentSetupWidget
=
newWidget
;
_ui
->
setupWidget
Layout
->
addWidget
(
newWidget
);
_ui
->
horizontal
Layout
->
addWidget
(
newWidget
);
}
void
SetupView
::
firmwareButtonClicked
(
void
)
...
...
src/VehicleSetup/SetupView.ui
View file @
59b32fd7
...
...
@@ -39,42 +39,6 @@
</property>
</widget>
</item>
<item>
<widget
class=
"QWidget"
name=
"setupWidget"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
400
</width>
<height>
300
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
<string>
Form
</string>
</property>
<property
name=
"autoFillBackground"
>
<bool>
true
</bool>
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout_2"
>
<item>
<layout
class=
"QVBoxLayout"
name=
"setupWidgetLayout"
/>
</item>
<item>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
<enum>
Qt::Vertical
</enum>
</property>
<property
name=
"sizeHint"
stdset=
"0"
>
<size>
<width>
20
</width>
<height>
40
</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<customwidgets>
...
...
src/ui/px4_configuration/PX4RCCalibration.ui
View file @
59b32fd7
...
...
@@ -11,7 +11,7 @@
</rect>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
Fixed"
vsizetype=
"Fixed
"
>
<sizepolicy
hsizetype=
"
MinimumExpanding"
vsizetype=
"MinimumExpanding
"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
...
...
src/ui/px4_configuration/QGCPX4AirframeConfig.ui
View file @
59b32fd7
...
...
@@ -11,7 +11,7 @@
</rect>
</property>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"
Fixed"
vsizetype=
"Fixed
"
>
<sizepolicy
hsizetype=
"
MinimumExpanding"
vsizetype=
"MinimumExpanding
"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment