summaryrefslogtreecommitdiff
authorzecke <zecke>2004-04-22 16:01:56 (UTC)
committer zecke <zecke>2004-04-22 16:01:56 (UTC)
commit53d6c4b8bfcb119635b26b78dee0ae4be8490b90 (patch) (side-by-side diff)
treea9aaecbe2e01b1bd5be2a1358e910e28dfdee906
parent00977d309bc991ffb4a84216881b53432c6d0b47 (diff)
downloadopie-53d6c4b8bfcb119635b26b78dee0ae4be8490b90.zip
opie-53d6c4b8bfcb119635b26b78dee0ae4be8490b90.tar.gz
opie-53d6c4b8bfcb119635b26b78dee0ae4be8490b90.tar.bz2
Fill the screen better on BigScreen
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/oxygen/calcdlg.ui58
-rw-r--r--noncore/apps/oxygen/dataTable.cpp2
2 files changed, 40 insertions, 20 deletions
diff --git a/noncore/apps/oxygen/calcdlg.ui b/noncore/apps/oxygen/calcdlg.ui
index 51bf334..60d312d 100644
--- a/noncore/apps/oxygen/calcdlg.ui
+++ b/noncore/apps/oxygen/calcdlg.ui
@@ -13,7 +13,26 @@
<y>0</y>
- <width>237</width>
- <height>318</height>
+ <width>323</width>
+ <height>380</height>
</rect>
</property>
- <widget>
+ <property stdset="1">
+ <name>caption</name>
+ <string>CalcDlg</string>
+ </property>
+ <property>
+ <name>layoutMargin</name>
+ </property>
+ <property>
+ <name>layoutSpacing</name>
+ </property>
+ <grid>
+ <property stdset="1">
+ <name>margin</name>
+ <number>-1</number>
+ </property>
+ <property stdset="1">
+ <name>spacing</name>
+ <number>-1</number>
+ </property>
+ <widget row="0" column="0" >
<class>QTabWidget</class>
@@ -23,10 +42,7 @@
</property>
- <property stdset="1">
- <name>geometry</name>
- <rect>
- <x>0</x>
- <y>0</y>
- <width>240</width>
- <height>320</height>
- </rect>
+ <property>
+ <name>layoutMargin</name>
+ </property>
+ <property>
+ <name>layoutSpacing</name>
</property>
@@ -42,2 +58,11 @@
</attribute>
+ <vbox>
+ <property stdset="1">
+ <name>margin</name>
+ <number>-1</number>
+ </property>
+ <property stdset="1">
+ <name>spacing</name>
+ <number>-1</number>
+ </property>
<widget>
@@ -48,11 +73,2 @@
</property>
- <property stdset="1">
- <name>geometry</name>
- <rect>
- <x>0</x>
- <y>0</y>
- <width>230</width>
- <height>290</height>
- </rect>
- </property>
<vbox>
@@ -165,4 +181,6 @@
</widget>
+ </vbox>
</widget>
</widget>
+ </grid>
</widget>
diff --git a/noncore/apps/oxygen/dataTable.cpp b/noncore/apps/oxygen/dataTable.cpp
index 48e2b20..798230a 100644
--- a/noncore/apps/oxygen/dataTable.cpp
+++ b/noncore/apps/oxygen/dataTable.cpp
@@ -99,2 +99,4 @@ OxydataTable::OxydataTable(int numRows, int numCols, QWidget *parent,
{
+ setColumnStretchable( 0, true );
+ setColumnStretchable( 1, true );