On 11/12/2013 22:58, Benjamin wrote:
Put in other words: 1. The default behaviour (if there's any other behaviour) of a text box in Spec, doesn't accept ENTER. A multi-line text entry without ENTER doesn't make sense, no?
What enter does then ?
Nothing :-)
2. The default behaviour of a Spec text box, wraps the text entered if the length exceeds the display length of the widget. This is very unorthodox and wrong *from user's perspective*.
What is expected ?
Quoting Ben from another e-mail in the same thread: "For a single line text box, I would expect it to scroll text horizontally out of view. "
Which widget of text ?
I've tried TextInputModel so far.
This behaviour is actually Morphic behaviour, not Spec. But anyway, it can/should be fixed/improved :)
Yay!
Then, each of this corners can be shifted in x and y by a _fixed_ value (in > pixels)
So basically `add: #buttonGreet origin: 0.3@0.2 corner: 0.7@0.5 offsetOrigin: 0@0 offsetCorner: 0@0` would add a button in a center'ish position within its container, right?
It should do something like this yes :)
I wonder what am I doing wrong since it has no effect whatsoever?
What is the result ?
The same as using `add:`. I get a big fat blue button which fills up full container space and continues to do so when the container is resized :-) -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)