author | llornkcor <llornkcor> | 2002-10-17 02:11:34 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-17 02:11:34 (UTC) |
commit | 1dd9a4cd670d3bb50c6bb3612ad34cbc1358ce7f (patch) (side-by-side diff) | |
tree | 77dbafed23831a0d6843447a6824558ba5959c76 /noncore | |
parent | 7176f02e8e8418020e0aa354795611620b564d81 (diff) | |
download | opie-1dd9a4cd670d3bb50c6bb3612ad34cbc1358ce7f.zip opie-1dd9a4cd670d3bb50c6bb3612ad34cbc1358ce7f.tar.gz opie-1dd9a4cd670d3bb50c6bb3612ad34cbc1358ce7f.tar.bz2 |
widgets too big 2
-rw-r--r-- | noncore/tools/formatter/formatter.cpp | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/noncore/tools/formatter/formatter.cpp b/noncore/tools/formatter/formatter.cpp index 2b8ce7f..ed0ced1 100644 --- a/noncore/tools/formatter/formatter.cpp +++ b/noncore/tools/formatter/formatter.cpp @@ -79,3 +79,3 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla - tabLayout->addMultiCellWidget( storageComboBox, 0, 0, 0, 0 ); + tabLayout->addMultiCellWidget( storageComboBox, 0, 0, 0, 1); @@ -84,3 +84,3 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla - tabLayout->addMultiCellWidget( TextLabel4, 1, 1, 0, 0 ); + tabLayout->addMultiCellWidget( TextLabel4, 1, 1, 0, 1); @@ -89,3 +89,3 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla - tabLayout->addMultiCellWidget( TextLabel2, 4, 4, 0, 0 ); + tabLayout->addMultiCellWidget( TextLabel2, 4, 4, 0, 1); @@ -94,3 +94,3 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla - tabLayout->addMultiCellWidget( fileSystemsCombo, 3, 3, 0, 0 ); + tabLayout->addMultiCellWidget( fileSystemsCombo, 3, 3, 0, 1); QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Minimum ); @@ -102,5 +102,6 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla - tabLayout->addMultiCellWidget( formatPushButton, 6, 6, 0, 0 ); + tabLayout->addMultiCellWidget( formatPushButton, 6, 6, 0, 1); QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Minimum ); tabLayout->addItem( spacer_2, 5, 0 ); + TabWidget->insertTab( tab, tr( "Main" ) ); @@ -114,3 +115,3 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla - tabLayout_2->addMultiCellWidget( mountPointLineEdit, 0, 0, 0, 0 ); + tabLayout_2->addMultiCellWidget( mountPointLineEdit, 0, 0, 0, 1); @@ -118,3 +119,3 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla - tabLayout_2->addMultiCellWidget( deviceComboBox, 3, 3, 0, 0 ); + tabLayout_2->addMultiCellWidget( deviceComboBox, 3, 3, 0, 1); @@ -126,3 +127,3 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla - tabLayout_2->addMultiCellWidget( TextLabel5, 6, 6, 0, 0 ); + tabLayout_2->addMultiCellWidget( TextLabel5, 6, 6, 0, 1); @@ -130,3 +131,4 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla editPushButton->setText( tr( "Edit fstab" ) ); - + editPushButton->setMaximumWidth(100); + tabLayout_2->addMultiCellWidget( editPushButton, 7, 7, 0, 0 ); @@ -135,4 +137,5 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla fsckButton->setText( tr( "Check Disk" ) ); + fsckButton->setMaximumWidth(100); - tabLayout_2->addMultiCellWidget( fsckButton, 7, 7, 1, 0 ); + tabLayout_2->addMultiCellWidget( fsckButton, 7, 7, 1, 1); @@ -141,3 +144,3 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla - tabLayout_2->addMultiCellWidget( TextLabel3, 4, 4, 0, 0 ); + tabLayout_2->addMultiCellWidget( TextLabel3, 4, 4, 0, 1 ); QSpacerItem* spacer_3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); @@ -148,3 +151,3 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla - tabLayout_2->addMultiCellWidget( TextLabel1, 1, 1, 0, 0 ); + tabLayout_2->addMultiCellWidget( TextLabel1, 1, 1, 0, 1 ); QSpacerItem* spacer_4 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); @@ -153,3 +156,3 @@ FormatterApp::FormatterApp( QWidget* parent, const char* name, bool modal, WFla - FormatterAppLayout->addWidget( TabWidget, 0, 0 ); + FormatterAppLayout->addWidget( TabWidget, 0, 1 ); |