Author: aschnell
Date: Fri Aug 1 14:46:54 2008
New Revision: 49574
URL: http://svn.opensuse.org/viewcvs/yast?rev=49574&view=rev
Log:
- use `HelpText option
Modified:
trunk/storage/storage/src/include/custom_part_dialogs.ycp
Modified: trunk/storage/storage/src/include/custom_part_dialogs.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/custom_part_dialogs.ycp?rev=49574&r1=49573&r2=49574&view=diff
==============================================================================
--- trunk/storage/storage/src/include/custom_part_dialogs.ycp (original)
+++ trunk/storage/storage/src/include/custom_part_dialogs.ycp Fri Aug 1 14:46:54 2008
@@ -364,32 +364,30 @@
helptext = helptext + add_help ;
});
- UI::OpenDialog( `opt(`decorated),
- `HBox(
- `HWeight(4, `RichText( helptext )),
- `HWeight(7,
- `VBox(
- `HSpacing(50),
- // heading text
- `Left(`Heading(_("File system options:"))),
- `VStretch(),
- `VSpacing(1),
- `HBox(
- `HStretch(),
- `HSpacing(1),
- contents,
- `HStretch(),
- `HSpacing(1)),
- `VSpacing(1),
- `VStretch(),
- `HBox(
- `Bottom(`PushButton(`id(`ok),
- `opt(`default),
- Label::OKButton())),
- `Bottom(
- `PushButton(`id(`cancel),
- Label::CancelButton())))
- ))));
+ UI::OpenDialog(`opt(`decorated),
+ `VBox(
+ `HSpacing(50),
+ // heading text
+ `Left(`Heading(_("File system options:"))),
+ `VStretch(),
+ `VSpacing(1),
+ `HBox(
+ `HStretch(),
+ `HSpacing(1),
+ contents,
+ `HStretch(),
+ `HSpacing(1)),
+ `VSpacing(1),
+ `VStretch(),
+ `HBox(
+ `Left(`PushButton(`id(`help),`opt(`helpButton), Label::HelpButton())),
+ `Right(`HBox(`PushButton(`id(`ok), `opt(`default), Label::OKButton()),
+ `PushButton(`id(`cancel), Label::CancelButton())))
+ )
+ )
+ );
+
+ UI::ChangeWidget(`help, `HelpText, helptext);
foreach(any query_key, map