Login  Register

Re: RTMultiCompositeShape + Bitmap

Posted by abergel on Nov 20, 2014; 2:56pm
URL: https://forum.world.st/RTMultiCompositeShape-Bitmap-tp4791277p4791290.html

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 <[hidden email]> 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.