Nice!!! That looks wonderful, you just got a write permission in squeaksource ;) Could you please commit these changes? Is there a standard code to distinguish pharo from squeak, so we can detect which morphs we should use for buttons?? Regards, Javier. 2010/5/14 Torsten Bergmann <astares@gmx.de>
File in the attached #initialize method after loading http://www.squeaksource.com/PharoTips/PharoTips-Pocho.1.mcz
Run
PharoTipsMorph show
Then you have: - a working Pharo version by using "IconicButton" - better back/forward icons - the text non-editable when you click on it - a different color according to Polymorph look (the old yellow color remind too much on the annoying web page security bar from Internet explorer)
If we use it in a dev-image we should consider placing the logo at another location:
|logo| logo := World submorphs detect: [:each | each isKindOf: ImageMorph]. logo bounds: (4@34 corner: 379@169)
See attached screenshot.
One thing that still strikes me is that it does not resize when the outside native window is resized - which is hard to do since there is not yet an event from the VM for that. (see [1])
Bye T.
[1] http://www.mail-archive.com/pharo-project@lists.gforge.inria.fr/msg21761.htm...
-- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Javier Pimás Ciudad de Buenos Aires