Page 1 of 1
Text Vertical Alignment (2)
Posted: Wed Jan 01, 2014 11:21 pm
by [-hh]
..........
Re: Text Vertical Alignment (2)
Posted: Wed Jan 01, 2014 11:51 pm
by dunbarx
Hermann.
A nice workaround. "Nice" means it does what you need, looks right and is straightforward to implement.
Isn't there an ongoing effort to enhance the text formatting properties of fields? Native properties would be a feature that would make a lot of people happy.
Craig
Re: Text Vertical Alignment (2)
Posted: Thu Jan 02, 2014 6:23 am
by capellan
Really well done, Hermman!
How could you handle the field positioning when the user
resize the whole stack to fit in a cuarter or half the screen?
Al
Re: Text Vertical Alignment (2)
Posted: Thu Jan 02, 2014 11:49 am
by [-hh]
..........
Re: Text Vertical Alignment (2)
Posted: Thu Jan 02, 2014 10:25 pm
by bn
Hi,
may I humbly add another stack to the list that shows some ways of resizing
http://forums.runrev.com/phpBB2/viewtop ... 581#p52581
the panes stack. It uses split panes with various elements resized/relocated while dragging vertical/horizontal dividers.
Kind regards
Bernd
Re: Text Vertical Alignment (2)
Posted: Thu Jan 02, 2014 11:04 pm
by [-hh]
..........
Re: Text Vertical Alignment (2)
Posted: Sat Jan 04, 2014 7:57 pm
by snm
I didn't notice it was 2 years ago (for me rather like yesterday).
It's simple and well done Herman. Thanks for share it.
Marek
Re: Text Vertical Alignment (2)
Posted: Sun Jan 05, 2014 12:30 am
by [-hh]
..........
Re: Text Vertical Alignment (2)
Posted: Sun Jan 05, 2014 2:51 pm
by snm
Working perfect on Mac 10.8.5 LC 6.5.1.
Clicking right text field - nice surprise.
Marek
Re: Text Vertical Alignment (2)
Posted: Tue Jan 07, 2014 5:52 am
by capellan
Hi Hermman,
Just today, I found time to check closely this stack.
But for the wonderful results that you are getting, I could
tell that you are having a lot of fun with LiveCode.
[-hh] wrote:The attached stack is an example of spanning" rows of boxes" and spanning "columns of boxes". It is still unfinished but yet answers the above question of Al to resizing the 'textBoxes'.
And it's still surprisingly simple, using a principle technique of Bernd's pane stack. Most of scripting is due to creating infos for your testing while developping. These info fields and option buttons toggle their visibility by hitting spacebar.
Resizing stack window resizes the boxes proportionally and thereafter the textFields inside the boxes (not using groups, but 'grouplike').
The proportions of width/height that the boxes hold are chosable by dragging one of the three dividers (= buttons) between the boxes.
Keep Up your Great Work!
Al