qt-interest@trolltech.com
[Top] [All Lists]

Re: strange toolbar behaviour

Subject: Re: strange toolbar behaviour
From: Bo Thorsen
Date: Wed, 15 Aug 2007 11:08:39 +0200
On onsdag den 15. August 2007, Juergen Urner wrote:
> Hi,
>
> No idea if this is the right place to report bug suspects.

It isn't. This is a list where people help out with issues people have with Qt 
coding. But of course, sometimes we do discuss bugs also, and sometimes one 
of the trolls do pick up a bug from this list.

> Couldn't find a bug tracker, so untill told otherwise I'll post here.

http://trolltech.com/developer/task-tracker

> I have a toolbar where the user may adjust toolButtonStyles. When the
> user sets it to floating,
> and changes its style from Qt::ToolButtonIconOnly -->
> Qt::ToolButtonTextUnderIcon, the toolbars
> geometry is not adjusted to show all tools and hitting the little double
> arrow to get to the next
> set of tools will give strange results. A somewhat arbitrary number and
> set of icons is displayed
> (no text) and no arrow is displayed to switch back to previous sets of
> tools. This sems to happen
> exclusively in a the style change Qt::ToolButtonIconOnly -->
> Qt::ToolButtonTextUnderIcon.

Does indeed sound like a bug. As a temporary workaround, you could try calling 
updateGeometry() on the toolbar. This method tells the layout to recalculate. 
But even if this works, I hope you will send the bug report.

Bo Thorsen.

-- 

Thorsen Consulting ApS - Qt consulting services
http://www.thorsen-consulting.dk

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>