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

Matias Valdenegro T. mvaldenegro at informatica.utem.cl
Thu Jul 26 20:45:45 CEST 2007


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ó:
> > > 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()?

Sounds good, the same for minimumSize()?


More information about the Panel-devel mailing list