Hi,
I'm having problem with roassal rendering rectangles with text: | view | view := ROMondrianViewBuilder new. view shape rectangle withText: 'Hello'. view node: #1. view open. this will generate the shape in wrong_rendering attachement
while I would expect the same rendering as: | view | view := ROMondrianViewBuilder new.
view shape rectangle. view node: #1 forIt: [
view shape label text: 'Hello'. view node: #1]. view open see attachement correct_rendering.png What I want is a rectangle with a inside label (or a label with borders, depends from the point of view :) ).
Am I misusing roassal shapes or it is a bug? Using latest Moose. Thanks in advance, Fabrizio _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
It is a bug, I am on it right now.
Alexandre On Nov 7, 2013, at 6:48 AM, Fabrizio Perin <[hidden email]> wrote: > Hi, > I'm having problem with roassal rendering rectangles with text: > > | view | > view := ROMondrianViewBuilder new. > > view shape rectangle withText: 'Hello'. > view node: #1. > > view open. > > this will generate the shape in wrong_rendering attachement > <wrong_rendering.png> > > while I would expect the same rendering as: > > | view | > view := ROMondrianViewBuilder new. > > view shape rectangle. > view > node: #1 > forIt: [ > view shape label text: 'Hello'. > view node: #1]. > > view open > > see attachement correct_rendering.png > <correct_rendering.png> > > What I want is a rectangle with a inside label (or a label with borders, depends from the point of view :) ). > Am I misusing roassal shapes or it is a bug? > > Using latest Moose. > > Thanks in advance, > Fabrizio > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Fabrizio Perin-3
Fixed in Version 1.473 of Roassal
Thanks for having spotted this. Alexandre On Nov 7, 2013, at 6:48 AM, Fabrizio Perin <[hidden email]> wrote: > Hi, > I'm having problem with roassal rendering rectangles with text: > > | view | > view := ROMondrianViewBuilder new. > > view shape rectangle withText: 'Hello'. > view node: #1. > > view open. > > this will generate the shape in wrong_rendering attachement > <wrong_rendering.png> > > while I would expect the same rendering as: > > | view | > view := ROMondrianViewBuilder new. > > view shape rectangle. > view > node: #1 > forIt: [ > view shape label text: 'Hello'. > view node: #1]. > > view open > > see attachement correct_rendering.png > <correct_rendering.png> > > What I want is a rectangle with a inside label (or a label with borders, depends from the point of view :) ). > Am I misusing roassal shapes or it is a bug? > > Using latest Moose. > > Thanks in advance, > Fabrizio > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |