Re: [gtk-list] Re: another scrollbar policy ?



-----BEGIN PGP SIGNED MESSAGE-----

"Scott D. Heavner" <sdh@po.cwru.edu> writes:
> I'm not so sure this is a good idea.  What about people with
> tiny screens.  When I run Netscape on my laptops 640x480 I can't
> access parts of some dialogs because they are off the screen.

Well - it is the responsibility of the programmer to care for
that. Very often you have menus or other window where you know that
the window will only have a certain size in horizontal or vertical
direction... and then you should be capable of disabling the scrollbar
in that direction. 

> I think a better solution would be to make the window big enough
> to display the data unscrolled if it can fit on the screen if
> GTK_POLICY_AUTOMATIC is specified.  For some reason I had to
> set a fixed window size to make my window big enough so my 
> clist shows up without scrollbars.  What's the algorithm for
> computing the initial window size?

Now that is a pretty bad solution. If I know a menu has a certain
horiziontal and a variable vertical size I would want to disable the
horizontal and set the vertical scrollbar to automatic.
If now the user enters some stuff that enlarges it vertically the menu
would grow and grow until it fills the whole screen before the
scrollbar is being created - there is probably nothing more ugly...

GTK_POLICY_AUTOMATIC is good as it is... but with a GTK_POLICY_NEVER
you could disable these ugly things where a menu shows 95% of the data
and then puts a scrollbar there which forces it to put another
scrollbar in the other direction, too, because the first scrollbar
took up the enough space to hide some of the data in the other
direction.
Things like that are annoying imho and it would be so easy to avoid
them...

Later,
	Georg

- -- 
Georg C. F. Greve <greve@fusebox.hanse.de>
http://porter.desy.de/~greve/ - ICQ#10016966
"People who fight may lose. People who do not
fight have already lost." -- Bertolt Brecht

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: Processed

iQCVAwUBNanO8VZXgZXDxqJtAQHYwgP/Xt/gBZZsYQg89JML4oR/yYfGwuVQrrb0
U6W+ZLBUXw5Tojx5+mpAUKfXFY1RGl7YmBppBzPCNcZhQpj76uCSVxWdzSv2F6Ls
FBWijWtFNPJt7Dnw1gGf+oWDw2ciEpFacOzVAfeB/edZsrVVP9JZt/IJvw3qdtai
jlrDOJahsYo=
=G9rv
-----END PGP SIGNATURE-----



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