Re: Commit: More fixes to the Lists Dialog for Unix


Subject: Re: Commit: More fixes to the Lists Dialog for Unix
From: Vlad Harchev (hvv@hippo.ru)
Date: Mon Nov 13 2000 - 03:10:44 CST


On Mon, 13 Nov 2000, Martin Sevior wrote:
 
>
> On Mon, 13 Nov 2000, Vlad Harchev wrote:
>
> > On Mon, 13 Nov 2000, Martin Sevior wrote:
> >
> > > On Mon, 13 Nov 2000, Vlad Harchev wrote:
> > >
> > > > On Mon, 13 Nov 2000, Martin Sevior wrote:
> > > >
> > > > >
> > > > >
> > > > > On Mon, 13 Nov 2000, Vlad Harchev wrote:
> > > > >
> > > > > > On Mon, 13 Nov 2000, Martin Sevior wrote:
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > Does lists dialog still uses fixed sizes and positions of widgets?
> > > > > > This makes it looking weird with rather big bold font.
> > > > > >
> > > > >
> > > > > No it doesn't. Consequently it resizes whenever the internals of the
> > > > > dialog change. I think this is rather disconcerting. Is there some way to
> > > > > specify a minimum size to gtk elements? Of course I'd want the dialog to
> > > > > be able to expand for large fonts too.
> > > >
> > > > Last time I looked at it it even has fixed size for buttons "apply" and
> > > > "close" - that's why I'm curious.
> > > > What widget do you want to specify minimum size for? I think only drawing
> > > > area, yes? (If not, then something wrong with design of the dialog IMO).
> > > >
> > >
> > > I would like to set a minimum size for the entire dialog and the frame
> > > containing the customize information. When you change between
> > > say "numbered list" and "bullet" the dialog shrinks and expends whenyou go
> > > the other way.
> >
> > Of course there is a way to do this. Just measure the strings to be shown in
> > OptionMenu, set the widget's width to that + some constant via
> > gtk_widget_set_usize(w,width,-1)
> > As for minimum size of dialog - gtk will figure it out itself (if you've set
> > minimum size of drawing area). When the user presses "customize", dialog will
> > resize automatically.
> > IMO this should work.
>
> It DOES work. I just don't like it. I don't like the dialog changing size
> as I change options. That was why I went with fixed sizes to begin with.

 As I understand, dialog will change size only vertically if you set size of
optionmenu to the length of the longest string. This is not that weird IMO
then. Though customization of the list parameters can be done in separate
window (that can be deiconified by user if not needed) - and user will enable
/disable customized parameters with checkbutton in list dialog. But I don't
think lists dialog should be reworked for this approach since efforts won't
worth it. IMO list customization would be performed infrequently.

> Martin
>

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Mon Nov 13 2000 - 03:31:04 CST