[Panel-devel] Plasma::LineEdit / QGraphicsTextItem: maximum height
Thomas Georgiou
tageorgiou at gmail.com
Thu Jul 26 18:32:30 CEST 2007
On Thursday 26 July 2007 12:28:42 pm Aaron J. Seigo wrote:
> On Thursday 26 July 2007, Lukas Kropatschek wrote:
> > setTextWidth()). But there must be a way to set the height or maximum
> > number of lines or whatever, just that this LineEdit clips to the size of
> > the applet.
>
> there are two ways:
>
> - subclass lineedit and reimplement boundingRect
> - we extend Plasma::Widget to have a setMaximumSize which overrieds
> boundingRect.
but what would happen to text that does not fit withing the size?
Thomas Georgiou
More information about the Panel-devel
mailing list