diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-19 00:35:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-19 00:35:26 +0900 |
commit | 1312d2b18e2bdf7a8759e0c43edf90a584ac622a (patch) | |
tree | be2077668456540963a78097d72b7d5002a96ff0 | |
parent | 975f19a704fe395947c209c0fc4c164f3a1de5b6 (diff) | |
download | tdebase-1312d2b18e2bdf7a8759e0c43edf90a584ac622a.tar.gz tdebase-1312d2b18e2bdf7a8759e0c43edf90a584ac622a.zip |
Fixed visualization of KControl->Peripherals->Storage Media->Advanced page
when the window is resized. This resolves bug 1698.
-rw-r--r-- | tdeioslave/media/tdecmodule/managermodule.cpp | 8 | ||||
-rw-r--r-- | tdeioslave/media/tdecmodule/managermoduleview.ui | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/tdeioslave/media/tdecmodule/managermodule.cpp b/tdeioslave/media/tdecmodule/managermodule.cpp index 39ea8fe00..6478ee2a8 100644 --- a/tdeioslave/media/tdecmodule/managermodule.cpp +++ b/tdeioslave/media/tdecmodule/managermodule.cpp @@ -1,5 +1,5 @@ /* This file is part of the KDE Project - Copyright (c) 2005 Kévin Ottens <ervin ipsquad net> + Copyright (c) 2005 Kévin Ottens <ervin ipsquad net> Copyright (c) 2006 Valentine Sinitsyn <e_val@inbox.ru> This library is free software; you can redistribute it and/or @@ -26,7 +26,8 @@ #include <dcopref.h> #include <tqbutton.h> #include <tqcheckbox.h> -#include <tqcombobox.h> +#include <kcombobox.h> +#include <tqlayout.h> #include <tqobjectlist.h> #include <kdirnotify_stub.h> @@ -36,7 +37,10 @@ ManagerModule::ManagerModule( TQWidget* parent, const char* name ) : TDECModule( parent, name ) { + TQBoxLayout *layout = new TQVBoxLayout( this, 0, KDialog::spacingHint() ); + view = new ManagerModuleView( this ); + layout->addWidget( view ); addConfig( MediaManagerSettings::self(), view ); diff --git a/tdeioslave/media/tdecmodule/managermoduleview.ui b/tdeioslave/media/tdecmodule/managermoduleview.ui index e4a98d6ed..982da7d80 100644 --- a/tdeioslave/media/tdecmodule/managermoduleview.ui +++ b/tdeioslave/media/tdecmodule/managermoduleview.ui @@ -67,6 +67,14 @@ <property name="name"> <cstring>textLabel3</cstring> </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>3</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="text"> <string>Here you can specify default mount options for your storage media. Please note that some options are not supported for certain filesystems and/or medium. You will be able to redefine all these options on per-volume basis later, using Properties dialog of the corresponding volume.<br> Some of the options are tristate. Leave them "undefined" to let TDE choose the best value depending on your media.</string> |