[Qt-interest] adjusting the sizes of a QSplitter

Lorenzo Bettini bettini at dsi.unifi.it
Mon Nov 2 19:22:50 CET 2009


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

-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net



More information about the Qt-interest-old mailing list