center text in message box?

Oli Mason's icon

Hi, just a quick one,

have different phrase's (legato, forte) appearing in a message box, can i format them so they are centered???

or if there is there a better way to make my interface pretty Im all ears!

Thanks,

Oli

pdelges's icon

If what you want is to have text centered, you could use a textbutton instead of a message box.

p

Oli Mason's icon

Hi, ill explain my patch a bit better, (i cant post it up as im at work!)

its a music theory learning patch for musical terms where a random number selects a entry from coll (containing a list of musical terms,) and the entry selected is displayed in the message box. the user then matches the meaning to the term.

eg

Forte = Loud

so basically i need to be able to 'set' what the message box shows, can this be done with 'text' button?, Ive had a quick glance at the reference manual and still unsure till i get home and have a play.

the reason i want to do this is when a get a term like 'fine' and one like 'diminuendo' the difference in length makes it look a bit.......well shit, and if it was centered it might look neater.

Cheers

pdelges's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Maybe having a quick glance at the reference manual wasn't enough. I hope the following patch will clarify my first post. You can of course change the apperance of the button and make it look nice.

Oli Mason's icon

thats great, just what i needed.

thanks!