Michal Zugec wrote: > Michal Zugec wrote: >> Hi all! >> I have some bugreports from Martin about button labeling described in >> guideline: >> http://en.opensuse.org/YaST/Style_Guide#Single_Configuration.2FOverview.2FEdit_Dialog >> >> My question is about button ordering: >> Is that really suppose to be OK, Cancel order? Then it needs to be fixes >> in Wizard module (or show me how to implement that). Or the order is not >> important? If not, then screenshot/description should be fixed ...
No, the order is wrong (at least for the Qt and ncurses). It should be obviously [Cancel] [OK] as [Cancel] is the replacement for [Abort] button. > Example of such bugreport: > https://bugzilla.novell.com/show_bug.cgi?id=440521 > > The point of the bug are the labels, not the ordering. The confusing for > me was fact, that ordering is not mentioned in styleguide at all. The styleguide is Wiki. > In this case example code is here: > > Wizard::SetContents(caption, contents, help, true, true); > Wizard::SetNextButton(`next, Label::OKButton()); > Wizard::SetAbortButton(`abort, Label::CancelButton()); > Wizard::HideBackButton(); > > > What about new function Wizard::SetStandaloneContents() ? What about Wizard::OpenCancelOKDialog() ? L.
signature.asc
Description: OpenPGP digital signature
