[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Problems with QGraphicsLayout
From:       Alexis_Ménard <menard () kde ! org>
Date:       2009-03-01 16:58:12
Message-ID: 81941aea0903010858t7d91e3ai66e1d4d423cd390a () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@kde.org
> > https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>

[Attachment #5 (text/html)]

MM, if you never set aminimun size of Qt can know?<br><br>In QWiget we set an \
arbitrary size and un LayoutItem we set 40*40 if i remember.<br><br><div \
class="gmail_quote">On Sat, Feb 28, 2009 at 7:32 PM, Marco Martin <span \
dir="ltr">&lt;<a href="mailto:notmart@gmail.com">notmart@gmail.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On \
Saturday 28 February 2009, Matthias Fuchs wrote:<br> &gt; &gt; The Labels shall only \
be as large as the text is. One reason for that is<br> &gt; &gt; that I use \
isUnderMouse() to detect clicks on the label and I also set a<br> &gt; &gt; cursor \
for the label. And empty space should not result in a different<br> &gt; &gt; cursor \
or in visiting a website if you click on it.<br> &gt;<br>
&gt; Ok, for people with the same problem: Setting the minimumWidth fixed it<br>
</div>so it means that setSizePolicy(Minimum, Minimum) is still broken in qt :/<br>
<div><div></div><div class="Wj3C7c"><br>
&gt; _______________________________________________<br>
&gt; Plasma-devel mailing list<br>
&gt; <a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
&gt; <a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> <br>
<br>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
</div></div></blockquote></div><br>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic