Commit 0a48bfe9 authored by Gus Grubba's avatar Gus Grubba

Merge pull request #2187 from dogmaphobic/fixCheckBox

Fix checkbox aligment.
parents b05aa3fb f25ac82e
......@@ -30,8 +30,7 @@ CheckBox {
text: control.text
antialiasing: true
font.pixelSize: ScreenTools.defaultFontPixelSize
// This messes up when a *width*, which is wider than the control is given
// anchors.centerIn: parent
anchors.verticalCenter: parent.verticalCenter
color: control.__qgcPal.text
}
}
......
......@@ -2,7 +2,7 @@
QGroundControl Open Source Ground Control Station
(c) 2009 - 2013 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
(c) 2009 - 2015 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
......@@ -83,9 +83,9 @@ This file is part of the QGROUNDCONTROL project
const char* MAIN_SETTINGS_GROUP = "QGC_MAINWINDOW";
#ifndef __mobile__
enum DockWidgetTypes {
MAVLINK_INSPECTOR,
CUSTOM_COMMAND,
enum DockWidgetTypes {
MAVLINK_INSPECTOR,
CUSTOM_COMMAND,
ONBOARD_FILES,
STATUS_DETAILS,
INFO_VIEW,
......@@ -368,7 +368,7 @@ void MainWindow::_createInnerDockWidget(const QString& widgetName)
{
QGCDockWidget* widget = NULL;
QAction *action = _mapName2Action[widgetName];
switch(action->data().toInt()) {
case MAVLINK_INSPECTOR:
widget = new QGCMAVLinkInspector(widgetName, action, qgcApp()->toolbox()->mavlinkProtocol(),this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment