Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This post was updated on Nov 20, 2014; 1:42pm.
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 TRBitmapShape 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 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Rosario!
Well spotted! Please, update Trachel to enjoy the bug fix Cheers, Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Rosario, I have updated trachel but it still doesnt work. What do you mean? I have the following: ![]() I think i found another ... [show rest of quote] 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
... [show rest of quote] -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Acabo de el problema de componer composite shapes.
![]() Avisame como va. Saludos, Alexandre On Nov 25, 2014, at 10:06 AM, Alexandre Bergel <[hidden email]> wrote: ... [show rest of quote] -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
wrong list?
in any case, wrong language ;) Esteban
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Ah sorry, it was the right list, but indeed the wrong language.
Since Rosario is probably from South America, my brain did an override :-) Cheers, Alexandre > On Nov 25, 2014, at 12:33 PM, Esteban Lorenzano <[hidden email]> wrote: > > wrong list? > in any case, wrong language ;) > > Esteban > >> On 25 Nov 2014, at 17:31, Alexandre Bergel <[hidden email]> wrote: >> >> Acabo de el problema de componer composite shapes. >> >> <Screen Shot 2014-11-25 at 12.30.36 PM.png> >> >> Avisame como va. >> >> Saludos, >> Alexandre >> >> >>> On Nov 25, 2014, at 10:06 AM, Alexandre Bergel <[hidden email]> wrote: >>> >>> Hi Rosario, >>> >>>> I have updated trachel but it still doesnt work. >>> >>> What do you mean? I have the following: >>> >>> <Screen Shot 2014-11-25 at 10.03.36 AM.png> >>> >>> >>>> 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: >>> >>> <Screen Shot 2014-11-25 at 10.05.39 AM.png> >>> >>> 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 >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> >>> >>> >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> > ... [show rest of quote] -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi!
I just tested it in a clean image and now it works fine. Thanks a lot. Cheers, Rosario |
Free forum by Nabble | Edit this page |