Problems with QGraphicsLayout

Alexis Ménard menard at kde.org
Sun Mar 1 17:58:12 CET 2009


MM, if you never set aminimun size of Qt can know?

In QWiget we set an arbitrary size and un LayoutItem we set 40*40 if i
remember.

On Sat, Feb 28, 2009 at 7:32 PM, Marco Martin <notmart at gmail.com> wrote:

> On Saturday 28 February 2009, Matthias Fuchs wrote:
> > > The Labels shall only be as large as the text is. One reason for that
> is
> > > that I use isUnderMouse() to detect clicks on the label and I also set
> a
> > > cursor for the label. And empty space should not result in a different
> > > cursor or in visiting a website if you click on it.
> >
> > Ok, for people with the same problem: Setting the minimumWidth fixed it
> so it means that setSizePolicy(Minimum, Minimum) is still broken in qt :/
>
> > _______________________________________________
> > Plasma-devel mailing list
> > Plasma-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20090301/63a2570f/attachment.htm 


More information about the Plasma-devel mailing list