3 files changed, 26 insertions, 4 deletions
diff --git a/noncore/net/opietooth/manager/rfcommassigndialogbase.ui b/noncore/net/opietooth/manager/rfcommassigndialogbase.ui index ac574a7..04bda8f 100644 --- a/noncore/net/opietooth/manager/rfcommassigndialogbase.ui +++ b/noncore/net/opietooth/manager/rfcommassigndialogbase.ui @@ -13,3 +13,3 @@ <y>0</y> - <width>289</width> + <width>361</width> <height>343</height> @@ -18,2 +18,9 @@ <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> <name>caption</name> @@ -21,2 +28,8 @@ </property> + <property> + <name>layoutMargin</name> + </property> + <property> + <name>layoutSpacing</name> + </property> <vbox> @@ -24,3 +37,3 @@ <name>margin</name> - <number>11</number> + <number>4</number> </property> @@ -28,3 +41,3 @@ <name>spacing</name> - <number>6</number> + <number>4</number> </property> @@ -37,2 +50,9 @@ <property stdset="1"> + <name>sizePolicy</name> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + </sizepolicy> + </property> + <property stdset="1"> <name>text</name> diff --git a/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp b/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp index 3fe2ea6..be720b8 100644 --- a/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp +++ b/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp @@ -62,2 +62,4 @@ void RfcommAssignDialog::newDevice( const QString & mac ) QDialog dialog( this, "newdevice", true, WStyle_ContextHelp ); + dialog.setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, + (QSizePolicy::SizeType)7, sizePolicy().hasHeightForWidth())); diff --git a/noncore/net/opietooth/manager/rfcommdialogitembase.ui b/noncore/net/opietooth/manager/rfcommdialogitembase.ui index f9817df..dd8f121 100644 --- a/noncore/net/opietooth/manager/rfcommdialogitembase.ui +++ b/noncore/net/opietooth/manager/rfcommdialogitembase.ui @@ -13,3 +13,3 @@ <y>0</y> - <width>289</width> + <width>239</width> <height>95</height> |