Diffstat (limited to 'noncore/apps/oxygen/dataTable.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/dataTable.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/apps/oxygen/dataTable.cpp b/noncore/apps/oxygen/dataTable.cpp index 98d3bd8..82b425e 100644 --- a/noncore/apps/oxygen/dataTable.cpp +++ b/noncore/apps/oxygen/dataTable.cpp | |||
@@ -45,3 +45,2 @@ OxydataWidget::OxydataWidget(QWidget *parent) : QWidget(parent) | |||
45 | DataTable = new OxydataTable( 9,2, this ); | 45 | DataTable = new OxydataTable( 9,2, this ); |
46 | //DataTable->setColumnWidth ( 1 , ( parent->width())-10 ); | ||
47 | setTable(); | 46 | setTable(); |
@@ -85,3 +84,12 @@ void OxydataWidget::setTable() const | |||
85 | DataTable->setText( 8,0, tr( "Meltingpoint" ) ); | 84 | DataTable->setText( 8,0, tr( "Meltingpoint" ) ); |
85 | } | ||
86 | |||
87 | void OxydataWidget::setLayout() | ||
88 | { | ||
89 | #warning this is not working and I have no idea why! | ||
90 | // DataTable->setColumnWidth ( 0 , this->width()/2 ); | ||
91 | // DataTable->setColumnWidth ( 1 , this->width()/2 ); | ||
86 | 92 | ||
93 | DataTable->setColumnWidth ( 0 , 110 ); | ||
94 | DataTable->setColumnWidth ( 1 , 110 ); | ||
87 | } | 95 | } |