diff --git a/UpdatePTUDevCtrl/mainwindow.cpp b/UpdatePTUDevCtrl/mainwindow.cpp
index f074be3..b7cbe21 100644
--- a/UpdatePTUDevCtrl/mainwindow.cpp
+++ b/UpdatePTUDevCtrl/mainwindow.cpp
@@ -128,7 +128,7 @@ void MainWindow::checkOrientation()
break;
}
- //this->setPortraitLayout();
+ this->setPortraitLayout10Inch();
this->currentOrientation = orientation;
}
@@ -141,6 +141,14 @@ void MainWindow::setPortraitLayout()
ui->centralwidget->setFixedSize(480, 800);
}
+void MainWindow::setPortraitLayout10Inch()
+{
+ // Adjust layout for portrait mode (480x800)
+ this->setFixedSize(800, 1280);
+ ui->centralwidget->setFixedSize(800, 1280);
+}
+
+
void MainWindow::setLandscapeLayout()
{
// Adjust layout for landscape mode (800x480)
diff --git a/UpdatePTUDevCtrl/mainwindow.h b/UpdatePTUDevCtrl/mainwindow.h
index 4a80d18..4492cb9 100644
--- a/UpdatePTUDevCtrl/mainwindow.h
+++ b/UpdatePTUDevCtrl/mainwindow.h
@@ -68,6 +68,7 @@ private:
Ui::MainWindow *ui;
void checkOrientation();
void setPortraitLayout();
+ void setPortraitLayout10Inch();
void setLandscapeLayout();
Qt::ScreenOrientation currentOrientation;
diff --git a/UpdatePTUDevCtrl/mainwindow.ui b/UpdatePTUDevCtrl/mainwindow.ui
index a80f238..e90a7b7 100644
--- a/UpdatePTUDevCtrl/mainwindow.ui
+++ b/UpdatePTUDevCtrl/mainwindow.ui
@@ -6,19 +6,20 @@
0
0
- 480
- 800
+ 800
+ 1280
- 480
- 480
+ 800
+ 1280
- Source Code Pro
+ Liberation Sans
+ 18
@@ -26,31 +27,87 @@
+
+ 16
+
+
+ 20
+
+
+ 20
+
+
+ 20
+
+
+ 20
+
-
-
-
-
+
+
+ 16
+
+
+ 16
+
+
-
+
+
+ 180
+ 80
+
+
+
+
+ 260
+ 80
+
+
+
+
+ 22
+ 75
+ true
+
+
Exit
- -
+
-
+
+
+ 0
+ 80
+
+
+
+
+ 18
+ 75
+ true
+
+
1
+
+ Qt::AlignCenter
+
- -
+
-
true
- Misc Fixed
- 11
+ Source Code Pro
+ 18
75
true