getmusicbee.com

Support => Developers' Area => TheaterMode => Topic started by: Citfield on May 18, 2016, 09:06:15 PM

Title: Coding for centering
Post by: Citfield on May 18, 2016, 09:06:15 PM
I am busy with a project. I would like to center my title in the box.

Is this possible and what do i need to put in?
Title: Re: Coding for centering
Post by: redwing on May 20, 2016, 04:31:43 AM
Try align="center".
Title: Re: Coding for centering
Post by: Citfield on May 21, 2016, 06:40:30 AM
Great thanks it worked.

Do you possible know how to align vertically in the center of the block?
Title: Re: Coding for centering
Post by: redwing on May 21, 2016, 12:35:12 PM
yAnchor="element name.50" y="0"

would place it at the middle (50) of the specified element. You will need to adjust it to something like 48.6 or 49.2 depending on font size, etc.
Title: Re: Coding for centering
Post by: Citfield on May 21, 2016, 03:02:44 PM
Thanks