-rw-r--r-- | noncore/apps/oxygen/calcdlg.ui | 58 | ||||
-rw-r--r-- | noncore/apps/oxygen/dataTable.cpp | 2 |
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 @@ -12,9 +12,28 @@ <x>0</x> <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> <property stdset="1"> @@ -22,12 +41,9 @@ <cstring>TabWidget3</cstring> </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> <widget> @@ -41,4 +57,13 @@ <string>Molecular Weight</string> </attribute> + <vbox> + <property stdset="1"> + <name>margin</name> + <number>-1</number> + </property> + <property stdset="1"> + <name>spacing</name> + <number>-1</number> + </property> <widget> <class>QLayoutWidget</class> @@ -47,13 +72,4 @@ <cstring>Layout6</cstring> </property> - <property stdset="1"> - <name>geometry</name> - <rect> - <x>0</x> - <y>0</y> - <width>230</width> - <height>290</height> - </rect> - </property> <vbox> <property stdset="1"> @@ -164,6 +180,8 @@ </vbox> </widget> + </vbox> </widget> </widget> + </grid> </widget> </UI> 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 @@ -98,4 +98,6 @@ OxydataTable::OxydataTable(int numRows, int numCols, QWidget *parent, const char *name) : QTable(numRows, numCols,parent, name) { + setColumnStretchable( 0, true ); + setColumnStretchable( 1, true ); for (int zeile = 0; zeile < numRows; zeile++) |