Mailinglist Archive: yast-devel (105 mails)

< Previous Next >
Re: [yast-devel] Enforcing okButton and cancelButton
  • From: Stanislav Visnovsky <visnov@xxxxxxx>
  • Date: Thu, 4 Sep 2008 13:17:33 +0200
  • Message-id: <200809041317.33989.visnov@xxxxxxx>
Dňa Thursday 04 September 2008 13:12:36 Martin Vidner ste napísal:
On Thu, Sep 04, 2008 at 12:51:16PM +0200, Stefan Hundhammer wrote:

This shows that there are cases where it is legitimate to have a pop-up
dialog with a ButtonBox with more than one button, but only an okButton
and no cancelButton:


[Stop] [OK]


[OK] [Details...]


A way to escape this would be to place the odd (er, even) button
outside the ButtonBox.

But you want the alignment functionality (in fact, the desktop independence in
general) to retain. So, yes, it's a workaround.

IMO the best would be to convert all such buttons to custom ones so the check
will ignore this.

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups