Hi,
I've created a window with two frames, dividing the window into 2 halves, with on the left all the action objects, such as buttons and so on, and on the right the second frame is handling my browse.
Now, what I want to do is use the 'window-resized/maximized/minimized/restored'- events on the window.
I want to resize the frames accordingly to the the window resize. The width of the left frame stays the same, but height changes.
The right frame changes in width and height (so the browse expands in all ways).
This all seems to go very well. As long as I enlarge the window, nothing out of the ordinary seems to happen, the resize is done quite well.
But: if I shrink the window in any direction, I get those ugly scrollbars on the bottom or side of the window. Reason: the frames don't seem to shrink accordingly to the window-size, they stay as large as the maximum they have been resized.
Why? Is it because there are already objects in the frame, so the resize can not be done? Do I have to recreate the frame and objects on shrink?
I've created a window with two frames, dividing the window into 2 halves, with on the left all the action objects, such as buttons and so on, and on the right the second frame is handling my browse.
Now, what I want to do is use the 'window-resized/maximized/minimized/restored'- events on the window.
I want to resize the frames accordingly to the the window resize. The width of the left frame stays the same, but height changes.
The right frame changes in width and height (so the browse expands in all ways).
This all seems to go very well. As long as I enlarge the window, nothing out of the ordinary seems to happen, the resize is done quite well.
But: if I shrink the window in any direction, I get those ugly scrollbars on the bottom or side of the window. Reason: the frames don't seem to shrink accordingly to the window-size, they stay as large as the maximum they have been resized.
Why? Is it because there are already objects in the frame, so the resize can not be done? Do I have to recreate the frame and objects on shrink?