[Java-gnome-developer] Window automatic resizing when a widget hide
Brought to you by:
afcowie
From: Khiraly <khi...@gm...> - 2005-05-02 21:49:56
|
Hi! I have a window, where are two widget side by side: one TextView widget (main_chat) and one TreeView widget (userlist) By default, the TreeView widget is hidden. screenshot: http://khiraly.4242.hu/tmp/puliAutomatic-1.png Here is an another screenshot, where the TextView widget and the TreeView widget is visible: screenshot: http://khiraly.4242.hu/tmp/puliAutomatic-2.png If I hide the TreeView widget, then the TextView widget fill the rest place. (The main windows does not resize automatically.) Its how it is supposed to work. screenshot: http://khiraly.4242.hu/tmp/puliAutomatic-3.png If I show the TreeView widget again, than the window resize automatically, because the size of TextView does not changed and the TreeView widget is placed aside. screenshot: http://khiraly.4242.hu/tmp/puliAutomatic-4.png I dont like this feature. I would like if the windows width (horizontally) didnt changed. This automatic resizing continue as long as the TextView widget make wrapping. The horizontal size its just growing. Screenshots: http://khiraly.4242.hu/tmp/puliAutomatic-5.png http://khiraly.4242.hu/tmp/puliAutomatic-6.png http://khiraly.4242.hu/tmp/puliAutomatic-7.png Anybody have an idea, how can I disable this automatic resizing feature? Best regards, Khiraly |