If not already known: There is a small problem with the Popup: The popup window (background) is not growing with the text length. You can check it with the "RTMondrianExample exampleNeestingAndTitle".
BW, Volkert
Working on it right now…
Alexandre
On Nov 28, 2014, at 5:20 PM, volkert@nivoba.de wrote:
If not already known: There is a small problem with the Popup: The popup window (background) is not growing with the text length. You can check it with the "RTMondrianExample exampleNeestingAndTitle".
BW, Volkert
-- www.nivoba.de
"The more complex an object, the larger the investment in learning to use it, and the greater the resistance to abandon it.", NW
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Yes, we have noticed the same today. I have the impression it is the problem of composing shape. If I try example like this:
-=-=- v := RTView new.
el := RTBox new size: 20; element. v add: el. el @ (RTPopup text: 'dasflj adlsj daslfkj adlsjf dasflj adlsj daslfkj adlsjf dasflj adlsj daslfkj adlsjf'). v. -=-=-
I get:
I have changed the text color in RTPopup>>textElement: in order to see what is going on. And I have find out that each line has it own TRLabel, composing shape keeps offset, but it is not considered when RTNest (in textElement:) asks for encompassing rectangle.
I hope it will help!
Cheers, Jura
On 28. Nov 2014, at 17:20, volkert@nivoba.de wrote:
If not already known: There is a small problem with the Popup: The popup window (background) is not growing with the text length. You can check it with the "RTMondrianExample exampleNeestingAndTitle".
BW, Volkert
-- www.nivoba.de
"The more complex an object, the larger the investment in learning to use it, and the greater the resistance to abandon it.", NW
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
The composite shapes are a whole mess, once more! So hard to imagine all the details when designing it. I fixed the bug found by Volkert. Let’s see if more thing appear
Alexandre
On Nov 28, 2014, at 5:55 PM, Juraj Kubelka juraj.kubelka@gmail.com wrote:
Yes, we have noticed the same today. I have the impression it is the problem of composing shape. If I try example like this:
-=-=- v := RTView new.
el := RTBox new size: 20; element. v add: el. el @ (RTPopup text: 'dasflj adlsj daslfkj adlsjf dasflj adlsj daslfkj adlsjf dasflj adlsj daslfkj adlsjf'). v. -=-=-
I get: <Screen Shot 2014-11-28 at 17.51.30.png>
I have changed the text color in RTPopup>>textElement: in order to see what is going on. And I have find out that each line has it own TRLabel, composing shape keeps offset, but it is not considered when RTNest (in textElement:) asks for encompassing rectangle.
I hope it will help!
Cheers, Jura
On 28. Nov 2014, at 17:20, volkert@nivoba.de wrote:
If not already known: There is a small problem with the Popup: The popup window (background) is not growing with the text length. You can check it with the "RTMondrianExample exampleNeestingAndTitle".
BW, Volkert
-- www.nivoba.de
"The more complex an object, the larger the investment in learning to use it, and the greater the resistance to abandon it.", NW
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Hi Volkert,
Thanks for having found the bug. It is now fixed in the last version of Roassal / Trachel.
Let me know how it goes.
Alexandre
On Nov 28, 2014, at 5:20 PM, volkert@nivoba.de wrote:
If not already known: There is a small problem with the Popup: The popup window (background) is not growing with the text length. You can check it with the "RTMondrianExample exampleNeestingAndTitle".
BW, Volkert
-- www.nivoba.de
"The more complex an object, the larger the investment in learning to use it, and the greater the resistance to abandon it.", NW
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev