Can you attach the ui file here?
Can you attach the ui file here?
i have uploaded the screen shot of the ui.. due to some problem i can not upload the ui.
When u look into this screenshot the groupbox(select info) placed below is having the space problem. i need to remove it .
Thanks for replying
Please post your Designer file, not a screenshot of it.
I see your layout is incorrect. You have placed each widget into a separate layout instead of applying the layout to the groupbox. There could be more errors...
Hi,
Plz. find attached my ui (FileDialog.ui).
In the ui, the lower pane of the splitter having a stacked widget has two pages . The one is having the "student information" group box and the second is having "Student content" group box.
I m having the problem only in the first page groupbox.
In the first groupbox ( student information )you can see the space above and below it. I just want to remove that space anyhow. Also when the user moves the splitter up and down the lower edge of the dialog also moves up and down.
It will be great.,f there is any progrmatic way to do it, plz. tell me that,
I hope, i'll be able to define my problem.. if u have any queries so plz. let me know..
Thanks
you want something like this?
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Hi Spirit,
Thanks for replying.
No, this is not what i want. I think you have modified the size policy of the group box. I have already done it but i haven't got the exact solution what i want.
I'll try once again ....
The student Information group box has fixed height so What i want was, on moving the splitter up and down( in case of Student Information) the lower edge of the dialog should move with it and one more thing the second page( having another group box named student contents) should not be affected with it.
You won't obtain what you want with the layout engine. Actually I think the effect you want to obtain is unintuitive and unnatural. If you want it that way, you don't need the splitter at all. Instead make the lower part of the dialog fixed size using whatever means you wish to choose (there are at least two approaches) and then set the size policy of the upper part to expanding. Then your user only needs to... resize the window - the lower part will go up without changing its size and the upper part will be squezzed to fit the new size of the dialog.
Thanks wysota,
I think you are correct .. I will make it change now.
Bookmarks