Re: error dialog not centered


On Sat, 2006-03-18 at 11:29 +0700, Beast wrote:

But these 2 questions is still unanswered.

2. How to make the "OK" button centered (presently it right alignment)?
3. How to remove the icon on the "OK" button?

Short answer: you don't.

Long answer: these are theme-related issues, and should be dealt with by
the user and his/hers theme, not by the application developer.

Really long answer for the question number 2: usability studies have
shown that the user will most likely move the mouse cursor on the lower
corner of a message box in order to read it or to operate on it; that is
also why Gnome and GTK have "inverted" the order of the buttons on
dialogs.  By placing the button on the centre you are violating the
consistency of the user interface, and you are requiring the user to
actually move the mouse twice: the first time to the corner, the other
time on the centre of the dialog.  Thus, you are kindly invited to
follow the human interface guidelines in order to ensure both UI
consistency with the rest of the platform and the best user experience.


Emmanuele Bassi - <ebassi gmail com>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]