[Panel-devel] Plasma::LineEdit / QGraphicsTextItem: maximum height

Aaron J. Seigo aseigo at kde.org
Thu Jul 26 20:36:53 CEST 2007


On Thursday 26 July 2007, Matias Valdenegro T. wrote:
> El Jue 26 Jul 2007, Aaron J. Seigo escribió:
> > On Thursday 26 July 2007, Matias Valdenegro T. wrote:
> > > El Jue 26 Jul 2007, Aaron J. Seigo escribió:
> > > > i actually like the latter as it seems to be something of a current
> > > > weakness in the layout system.
> > >
> > > Actually LineEdit hasn't been ported to the Layout system.
> >
> > i still don't see a way to set the max size on an item, though?
>
> virtual QSizeF maximumSize() const probably would do that.

we should try and avoid requiring people to subclass for this, however. what 
do you think about adding a setMaximumSize that gets returned by 
Applet::maximumSize()?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070726/ef04241d/attachment-0001.pgp 


More information about the Panel-devel mailing list