Re: HIG Dialog widget proposal



Hi,

<martyn 2 russell bt com> writes:

> Perhaps the solution is the only allow tags like <u> and <i>?  That
> way the developer can place emphasis on text still, but the actual
> sizing and boldness of the text is limited to the HIG?
>
> For most the message dialogs I have created, I am not interested in
> the formatting, I just expect the primary to be bold or bigger, and
> the secondary to be smaller and to have less emphasis. 

Markup shouldn't be used to format a complete label anyway since it
makes things a lot more complex for translators. So I agree that the
message dialog should take care of boldening and such and markup
should only be used very rarely (i.e. to emphasize a single word).

> >        gtk_message_dialog_set_title_text()
> > 
> >       instead and use the current text as the main text.
> >       But that strikes me as making the code read backwards
> >       from the display and hence bad.
> 
> I thought the HIG says to use an empty title for a dialog/alert?

It says so but it the authors have probably been on some bad crack
when they wrote that. I agree that the default window manager
behaviour should be not to list a message dialog in the taskbar and it
should also suppress the title. But if your window manager doesn't
implement this behaviour, not setting a window title let's you end up
with a dialog labelled "Untitled Window" and I don't think that's
desirable.


Sven



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