[Pharo-project] Tab widget improvements
gazzaguru2 at btinternet.com
Fri Jun 10 06:07:03 EDT 2011
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
Changed to remove old page and add new instead.
----- Original Message -----
From: "Gary Chambers" <gazzaguru2 at btinternet.com>
To: <Pharo-project at lists.gforge.inria.fr>
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
> Regards, Gary
> ----- Original Message -----
> From: "Stéphane Ducasse" <stephane.ducasse at inria.fr>
> To: <Pharo-project at lists.gforge.inria.fr>
> Sent: Wednesday, June 08, 2011 5:58 PM
> Subject: Re: [Pharo-project] Tab widget improvements
> in 1.3
> 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
>>> 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?
>> Marcus Denker -- http://www.marcusdenker.de
>> INRIA Lille -- Nord Europe. Team RMoD.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 477 bytes
Desc: not available
More information about the Pharo-dev