[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: main widget maximum size
From: Kleag <kleag () free ! fr>
Date: 2007-02-19 0:17:26
Message-ID: 200702190117.26441.kleag () free ! fr
[Download RAW message or body]
Le lundi 19 février 2007 00:33, Aaron J. Seigo a écrit :
> On February 18, 2007, Kleag wrote:
> > Well, I tried for KsirK, but I'm still able to resize the window a lot
> > larger than the main widget size:
> > m_frame = new DecoratedGameFrame(this, m_theWorld->width(),
> > m_theWorld->height());
> > setCentralWidget(m_frame);
> > m_frame->setMaximumWidth(m_theWorld->width());
> > m_frame->setMaximumHeight(m_theWorld->height());
>
> *wild* guess here (i should probably read some of the code before doing so,
> but hey, i feel lucky today ;): if you set the max height/width before
> calling setCentralWidget, does that work?
Hem, bad feeling :-(
I already tried, and it's the same... :-)
Kleag
--
KsirK - a turn-based strategy game for KDE
http://gna.org/projects/ksirk
KGraphViewer - a GraphViz dot graphs viewer
http://extragear.kde.org/apps/kgraphviewer
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic