Center morph in a morph
Hi, I guess this is similar to vertical css centering question :) Iâve tried to use: cellPositioning: #center; listCentering: #center; with TableLayout but morphs are still positioned at the top of parent morph. Can I somehow put them in the middle (vertically)? Uko
Uko2 wrote
Iâve tried to use: listCentering: #center; ... with TableLayout
That worked for me... <http://forum.world.st/file/n4821006/Screenshot_2015-04-21_16.png> You sent #listCentering to the parent Morph, right? BTW for exploration, a really easy way to see what these do it to play with them via the red halo (in the Layout sub-menu)... ----- Cheers, Sean -- View this message in context: http://forum.world.st/Center-morph-in-a-morph-tp4820943p4821006.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
On 21 Apr 2015, at 22:36, Sean P. DeNigris <sean@clipperadams.com> wrote:
Uko2 wrote
Iâve tried to use: listCentering: #center; ... with TableLayout
That worked for me... <http://forum.world.st/file/n4821006/Screenshot_2015-04-21_16.png>
You sent #listCentering to the parent Morph, right?
BTW for exploration, a really easy way to see what these do it to play with them via the red halo (in the Layout sub-menu)â¦
Wow, Iâve never thought about this. Thanks, Iâve figured out my problem
----- Cheers, Sean -- View this message in context: http://forum.world.st/Center-morph-in-a-morph-tp4820943p4821006.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (2)
-
Sean P. DeNigris -
Yuriy Tymchuk