Re: [Pharo-users] RTMultiCompositeShape + Bitmap

2014-11-26 Thread rosariosm
Hi!

I just tested it in a clean image and now it works fine. Thanks a lot. 

Cheers,
Rosario



--
View this message in context: 
http://forum.world.st/RTMultiCompositeShape-Bitmap-tp4791277p4792375.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] RTMultiCompositeShape + Bitmap

2014-11-21 Thread rosariosm
Hi Alex!

I have updated trachel but it still doesnt work. I think i found another
bug. Look at this new example:


 | element label bitmap composite  text |

text :=   (WriteStream on: ' ')
nextPutAll: 'string1';
nextPut: Character cr;
nextPutAll: 'string2';  
contents.

label := RTLabel new text: text.
bitmap := RTBitmap new form: (Form dotOfSize: 10).
composite := (RTMultiCompositeShape with: bitmap with: label)
vertical.

element := RTElement new addShape: composite.
   

RTLabel in trachel becomes a TRCompositeShape (because the text has two
lines) and a TRCompositeShape doesnt understand #extent.


Thanks,
Rosario




--
View this message in context: 
http://forum.world.st/RTMultiCompositeShape-Bitmap-tp4791277p4791565.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[Pharo-users] RTMultiCompositeShape + Bitmap

2014-11-20 Thread rosariosm
Hello,

When i try to add a vertical/horizontal layout to a RTMultiCompositeShape
that has a Bitmap shape, it cant render the layout because a RTBitmal dont
understand #extent.

For example:

| element label bitmap composite view |

label := RTLabel new text: 'hello'.
bitmap := RTBitmap new form: (Form dotOfSize: 10).
composite := (RTMultiCompositeShape with: label with: bitmap) vertical.

element := RTElement new addShape: composite.
view := RTView new
add: element;
open

Thanks! 
Rosario




--
View this message in context: 
http://forum.world.st/RTMultiCompositeShape-Bitmap-tp4791277.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] RTMultiCompositeShape + Bitmap

2014-11-20 Thread Alexandre Bergel
Hi Rosario!

Well spotted! Please, update Trachel to enjoy the bug fix

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



 On Nov 20, 2014, at 10:39 AM, rosariosm rosariosantamari...@gmail.com wrote:
 
 Hello,
 
 When i try to add a vertical/horizontal layout to a RTMultiCompositeShape
 that has a Bitmap shape, it cant render the layout because a RTBitmal dont
 understand #extent.
 
 For example:
 
   | element label bitmap composite view |
 
   label := RTLabel new text: 'hello'.
   bitmap := RTBitmap new form: (Form dotOfSize: 10).
   composite := (RTMultiCompositeShape with: label with: bitmap) vertical.
 
   element := RTElement new addShape: composite.
   view := RTView new
   add: element;
   open
 
 Thanks! 
 Rosario
 
 
 
 
 --
 View this message in context: 
 http://forum.world.st/RTMultiCompositeShape-Bitmap-tp4791277.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.