Fix for activate/passivate for (currently) non-visible tabs.

Regards, Gary

----- Original Message ----- From: "Gary Chambers" <[email protected]>
To: <[email protected]>
Sent: Friday, June 10, 2011 11:07 AM
Subject: Re: [Pharo-project] Tab widget improvements


Fix for tab group page contents "jumping around" slightly.

Beware if using Morph>>replaceSubmorph:by:
It uses #referencePositionInWorld which, in turn, eventually uses
#rotationCenter (typically 0.5 @ 0.5).
This was causing the replacement page to be mis-aligned depending on the
previous page causing positional movement when moving back and forth between
tabs.

Changed to remove old page and add new instead.

Regards, Gary

----- Original Message ----- From: "Gary Chambers" <[email protected]>
To: <[email protected]>
Sent: Thursday, June 09, 2011 2:34 PM
Subject: Re: [Pharo-project] Tab widget improvements


Small fix for index out of range when pages are deleted in some
circumstances...

Regards, Gary

----- Original Message ----- From: "Stéphane Ducasse" <[email protected]>
To: <[email protected]>
Sent: Wednesday, June 08, 2011 5:58 PM
Subject: Re: [Pharo-project] Tab widget improvements


in 1.3

Stef

On Jun 8, 2011, at 4:00 PM, Marcus Denker wrote:


On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote:

Attached, some improvements to the TabGroupMorph etc. having had
feedback
from Doru.

Provides scrolling buttons when insufficient room for all tabs and
displays only tabs for which there is room! (excepting at least one).

Can optionally set wrapScrolling on the TabSelectorMorph to allow
wraparound scrolling via the buttons.


Do we put that in 1.3 or 1.4?

http://code.google.com/p/pharo/issues/list?thanks=4376


--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.





Attachment: TabSelectorActivateAndPassivateFix.1.cs
Description: Binary data

Reply via email to