summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/formatter/formatter.cpp29
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 );