Author: gs Date: Mon Aug 11 16:23:17 2008 New Revision: 49947 URL: http://svn.opensuse.org/viewcvs/yast?rev=49947&view=rev Log: better layout for rules dialog Modified: trunk/auditd/src/dialogs.ycp Modified: trunk/auditd/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/auditd/src/dialogs.ycp?rev=49947&r1=49946&r2=49947&view=diff ============================================================================== --- trunk/auditd/src/dialogs.ycp (original) +++ trunk/auditd/src/dialogs.ycp Mon Aug 11 16:23:17 2008 @@ -184,21 +184,21 @@ return `MarginBox( mbox_x, mbox_y, `VBox( - `VWeight( 20, `Frame( _("" ), - `VBox( - `Left(`ComboBox( `id("audit_enabled"), `opt(`notify), _("Set Enabled Flag"), - [`item(`id("enabled"), _("Auditing enabled"), true ), // -e 1 - `item(`id("disabled"), _("Auditing disabled") ), // -e 0 - `item(`id("locked"), _("Rules are locked (until next boot)")) // -e 2 - ] - )), - `VStretch() - ) - ) ), - `VWeight( 70, `VBox( + `VSpacing(0.2), + `VWeight( 20, `VBox( + `Left(`ComboBox( `id("audit_enabled"), `opt(`notify), _("Set Enabled Flag"), + [`item(`id("enabled"), _("Auditing enabled"), true ), // -e 1 + `item(`id("disabled"), _("Auditing disabled") ), // -e 0 + `item(`id("locked"), _("Rules are locked (until next boot)")) // -e 2 + ] + ) ), + `VStretch() + ) ), + `VSpacing(0.2), + `VWeight( 90, `VBox( `Left(`Label(_("Edit rules for audit subsystem here:") ) ), - `MultiLineEdit(`id("rules"), Auditd::GetRulesFile() ) - + `MultiLineEdit(`id("rules"), `opt(`vstretch), Auditd::GetRulesFile() ) + ) ), `VWeight( 10, `HBox(`PushButton( `id( "test" ), _("Test") ), @@ -209,8 +209,8 @@ `HSpacing(2.0), `PushButton( `id( "load" ), _("Load ") ) ) - ), - `VStretch() + ) + ) ); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org