Login  Register

Re: RTMultiCompositeShape + Bitmap

Posted by abergel on Nov 25, 2014; 2:01pm
URL: https://forum.world.st/RTMultiCompositeShape-Bitmap-tp4791277p4792185.html

Hi Rosario,

I have updated trachel but it still doesnt work.

What do you mean? I have the following:



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.

I cannot reproduce the problem.
I have the following:


However, I see a new problem here. Is that the bitmap should be above the label. And it is not. 
I will work on it.

Cheers,
Alexandre



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.


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