draw speed scale
This commit is contained in:
+3
-1
@@ -22,7 +22,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
|
||||
copk = new Cockpit(this);
|
||||
|
||||
copk->setGeometry(this->width() - copk->width(),0,900,this->height());
|
||||
copk->setGeometry(this->width() - copk->width(),0,1000,this->height());
|
||||
|
||||
|
||||
nav->setGeometry(0,0,50,this->height());
|
||||
@@ -90,6 +90,8 @@ void MainWindow::resizeEvent(QResizeEvent *e)
|
||||
{
|
||||
qDebug() << e;
|
||||
|
||||
nav->setGeometry(0,0,50,this->height());
|
||||
|
||||
copk->setGeometry(this->width() - copk->width(),0,copk->width(),copk->height());
|
||||
|
||||
map->setGeometry(nav->width(),
|
||||
|
||||
Reference in New Issue
Block a user