window and widget resize



Hi again ;-)

I have that interface:

+-------------------+
| +---------------+ |
| |               | |
| |   Widget 1    | |
| |               | |
| +---------------+ |
| +---------------+ |
| |               | |
| |   Widget 2    | |
| |               | |
| +---------------+ |
+-------------------+

After I'm resizing window, my program looks like:

+-------------------+
| +---------------+ |
| |               | |
| |   Widget 1    | |
| |               | |
| +---------------+ |
| +---------------+ |
| |               | |
| |   Widget 2    | |
| |               | |
| +---------------+ |
|                   |
|    Blank Space    |
|                   |
+-------------------+

How to auto resize widget, that they fit window?
I think, that it's not only my problem, so I think, that you know solution.
First of all, I tried to use "size-allocate" signal on main window. but,
it's not so beautiful, like I want. So is there any *beautiful* solution?

Thank You.



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