Re: why some dialogs and widgets(!) on unix have fixed dimensions?


Subject: Re: why some dialogs and widgets(!) on unix have fixed dimensions?
From: Vlad Harchev (hvv@hippo.ru)
Date: Sun Oct 01 2000 - 02:43:29 CDT


On Sun, 1 Oct 2000, Martin Sevior wrote:

> On Sat, 30 Sep 2000, Vlad Harchev wrote:
>
> >
> > Hi,
> >
> > Just tested translation of stringset to Russian - it appears that some
> > dialogs on unix have fixed dimensions (e.g. font dialog and some others).
> > I think this doesn't make sense at all. The dialog can work OK for english but
> > will possibly need increase of dimensions. Even more, not only dimensions for
> > entire dialog are hardcoded, but the size of individual widgets (e.g. label's
> > - that truncates label's text if it doesn't fit into that width) ! (Using
> > gtk_widget_set_usize)! This breaks the look horribly if another font size or
> > even font used by gtk is selected. So, I see no reason to hardcode dimensions
> > of dialogs and widgets.
> >
> > May I fix this?
> >
>
> These hard coded dialog dimension sizes are all through the gtk dialogs. I
> don't like them either but in some cases seemed neccessary to get the
> dialog to come out right. Feel free to fix them but please test your
> changes with English fonts and other font sizes.

 I think all these fixed-size dialogs were generated with old version of
glade..
 And not all dialogs have fixed dimensions and widget sizes - only 3 or so
(AFAIR).
 As for testing with other fonts and font sizes - I will test it. But gtk
layout system doesn't have flaws so there can't be any glitches.
 
> Cheers
>
> Martin
>
> PS. I haven't forgotten your patch but I haven't had a chance to look at
> it yet. I'm almost as keen as you to get non-latin lagnuage support into
> unix Abi.

 In fact, I didn't release my patch yet. The thing I announced was "concept
preview". I've already added some new necessary features to the version I've
announced, and I'm keeping implementing backend properly. I plan to have
everything complete tonight, but who knows. I will announce the release of
that patch here of course.

>

 Best regards,
  -Vlad



This archive was generated by hypermail 2b25 : Sun Oct 01 2000 - 02:57:45 CDT