[Pharo-project] fancier tab morph
gazzaguru2 at btinternet.com
Mon Apr 4 18:58:49 CEST 2011
When time allows...
----- Original Message -----
From: "Tudor Girba" <tudor.girba at gmail.com>
To: <Pharo-project at lists.gforge.inria.fr>
Sent: Saturday, April 02, 2011 8:30 AM
Subject: Re: [Pharo-project] fancier tab morph
This would be the idea. Gary has reviewed it briefly and said that it looks
Ok and we should integrate it in the TabMorph (right now I use subclassing).
Gary said that he will take a closer look at it soon.
On 2 Apr 2011, at 09:25, Stéphane Ducasse wrote:
> Doru what about integrating it in 1.3?
> On Apr 2, 2011, at 8:34 AM, Tudor Girba wrote:
>> In the context of Glamour, I worked on a Morphic tab widget a bit more
>> and here is the status (see the screenshots for some examples):
>> - it computes the pages lazily only when you want to first show the page
>> - it provides the possibility of closing the tab
>> - it offers the possibility of rendering a toolbar for each page
>> displayed to the right of the pages.
>> If you want to play with them, you can:
>> - download the latest moose image:
>> - execute the following to get an example of closable tabs:
>> GLMBasicExamples new accumulator openOn: 42
>> - execute the following to get an example of tabs with different toolbars
>> attached (to the right):
>> GLMBasicExamples new tabsWithDifferentActions openOn: 42
>> There are still a couple of issues left:
>> - When the title of a tab is too large, it pushes the bounds of the pane
>> beyond what is visible.
>> - Also, when we have multiple tabs, they again go overboard.
>> - Similar things happen with the toolbar.
>> However, the good news is that Gary is looking into this :)
>> "Relationships are of two kinds: those we choose and those that happen.
>> They both matter."
"Presenting is storytelling."
More information about the Pharo-project