Qt-interest Archive, April 2007
Re: Separator label: little bug
Message 1 in thread
Hi Igor,
Interesting. You will notice that the text works well in Plastique,
appears clipped in Cleanlooks but disappears in Windows style.
http://doc.trolltech.com/4.2/qaction.html#setSeparator comes to my
rescue with some ambiguous documentation as to whether this is supposed
to work :)
I have created an internal task to fix this.
Girish
Igor Grivko wrote:
> Hi Girish,
>
> Please, consider the example mainwindows/menus, there you can find a piece of
> code like this:
>
> formatMenu->addSeparator()->setText(tr("Alignment"));
>
> I don't know how it must work (or why it must NOT work), but you can see
> this "case" on your own examples.
>
> Best regards,
> Igor Grivko
>
> 11 ÐÐÑÐÐÑ 2007 19:56, Girish Ramakrishnan ÐÐÐÐÑÐÐ:
>
>> Hi,
>>
>> Igor Grivko wrote:
>>
>>> See attached picture. "Private Palettes" separator label is drawn partly.
>>>
>>> m_pPalettesMenu->addSeparator()->setText(tr("Private Palettes"));
>>>
>> This is not really expected to work but it looks like a nice feature to
>> have :) Please create a suggestion through our task tracker.
>>
>> (To make it work for now, look into QWidgetAction)
>>
>> Girish
>>
>> To unsubscribe - send "unsubscribe" in the subject to
>> qt4-preview-feedback-request@xxxxxxxxxxxxx
>>
--
[ signature omitted ]