-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Description
The align: 'right'
option for text boxes (e.g., para
, title
, tagline
) appears to break the vertical flow of the element. Interestingly, this doesn't seem to be the case with align: 'center'
. It's also not the case when explicitly passing the default align: 'left'
.
Here is a tiny app that reproduces the problem:
Shoes.app height: 200, width: 200 do
stack do
title 'Center', align: 'center'
para 'Default'
para 'Default'
para 'right-aligned 1', align: 'right'
para 'right-aligned 2', align: 'right'
para 'left-aligned 1', align: 'left'
para 'left-aligned 2', align: 'left'
para 'centered 1', align: 'center'
para 'centered 2', align: 'center'
end
end
Cheers!