Re: Current bugs: Text size

Magnus Lie Hetland <[email protected]> Mon, 1 Mar 2004 01:13:24 +0100
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
Sascha Silbe <[email protected]>:
>
> Hi!
> 
> It seems like one of the biggest (largest bug count) and most annoying 
> problems currently is about text size.
> Widgets containing text (like Buttons and Labels) are given fixed sizes. 

Right.

> They are neither sized according to the size of the actual content upon 
> init nor upon change of content.

Well, you may certainly view that as flawed behavior, but it is the
way the current layout works. In other words, this is according to
spec, and not a bug (if I understand you correctly).

We have discussed adding such information as miminum size to
components (which will be calculated from text) and to base some
layout managers on that, but that should be considered a future
feature rather than a bug fix right now. (I think it's a bit ambitious
for that.)

This is actually in the TODO.txt file (see "shrink-wrapping"),
although I'm not sure the versioning there (0.2a3) will be correct.

-- 
Magnus Lie Hetland           "The mind is not a vessel to be filled,
http://hetland.org            but a fire to be lighted."  [Plutarch]


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click