define windows size in the .ui file v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Fri, 28 Sep 2018 12:51:55 +0200
branchv_0
changeset 11 0f42346c8fc7
parent 10 a6a036bc3857
child 12 a45d1cac365e
define windows size in the .ui file
src/RelpipeChartMainWindow.ui
src/relpipe-out-chart.cpp
--- a/src/RelpipeChartMainWindow.ui	Mon Sep 24 20:54:50 2018 +0200
+++ b/src/RelpipeChartMainWindow.ui	Fri Sep 28 12:51:55 2018 +0200
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>800</width>
-    <height>600</height>
+    <width>640</width>
+    <height>480</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -19,7 +19,7 @@
     <rect>
      <x>0</x>
      <y>0</y>
-     <width>800</width>
+     <width>640</width>
      <height>30</height>
     </rect>
    </property>
--- a/src/relpipe-out-chart.cpp	Mon Sep 24 20:54:50 2018 +0200
+++ b/src/relpipe-out-chart.cpp	Fri Sep 28 12:51:55 2018 +0200
@@ -25,7 +25,6 @@
 	int resultCode = CLI::EXIT_CODE_UNEXPECTED_ERROR;
 	
 	RelpipeChartMainWindow window;
-	window.resize(640, 480);
 	window.show();
 	
 	app.exec();