[Qt-interest] adjusting the sizes of a QSplitter
John McClurkin
jwm at nei.nih.gov
Mon Nov 2 19:27:42 CET 2009
Lorenzo Bettini wrote:
> Hi
>
> I'm using a vertical QSplitter to separate a QTextEdit and a QTextBrowser.
>
> Now, when putting everything in a grid layout the splitter reservers a
> small space for the editor and a wider space for the browser.
>
> Like this
>
> | TextEdit || Browser |
> ^
> splitter
>
> Is there a way to adjust/initialize the splitter so that it is on the
> half, something like this
>
> | TextEdit || Browser |
>
> thanks in advance
> Lorenzo
>
Have you tried settings the sizes or sizeHints of the TextEdit and Browser?
More information about the Qt-interest-old
mailing list