[Feature request] Alignment on comments

Guillaume Bertrand's icon

Hi cycling,

It would be awesome if you could add some alignment features to the comments (left, right, center) Just the basics...
The interface making is a lot better than before, but the comments positioning is still very time consuming, and this feature would really improve it.

Is it something you plan on adding or not at all?

Thanks for your time

G

Anthony Palomba's icon

I use Ctrl+Shift+A to align objects. Also try turning on snap to grid.

Roman Thilenius's icon

he means aligning the letters to the object.

"align right" would be nice indeed.

Guillaume Bertrand's icon

Yes, I mean the "text alignment" feature you can find in the textbutton object for instance.

I'm trying to implement software localization in Max and I would like the titles, labels, comments to be aligned properly whatever the language.

seejayjames's icon

+1

though using a transparent textbutton is nearly as easy.

How are you implementing the language localization? I'm thinking about this too, especially for the popup hints. Was thinking about using multiple [colls], one for each language, might be the easiest way. Also, any hints about using non-English characters/symbols (like accent marks)?

Floating Point's icon

Try this jsui as a possible alternative to [comment]

Guillaume Bertrand's icon

Yes textbrick jsui is an alternative. But isn't it much more CPU consuming than a good old native Max object?
The difference could be significant in pretty big patchers.

About localization, multiple [colls] seems the best way to me too. Every localizable object has a scripting name And I use a small scripting mechanism using sendbox to change the comments. It could be extended to other properties of the object (like the hint for example)

Max Patch
Copy patch and select New From Clipboard in Max.

About the accents-marks, I experienced no problems at all using them since Max5 (don't talk to me about Max 4.6 on this subject!…)

AudioMatt's icon

Yes textbrick jsui is an alternative. But isn't it much more CPU consuming than a good old native Max object?
The difference could be significant in pretty big patchers.

don't... even...

Guillaume Bertrand's icon
AudioMatt's icon
Guillaume Bertrand's icon

Indeed! I'm not here to start another ten pages debate...

Guillaume Bertrand's icon

The problem of the textbrick jsui (and with jsui in general) is that you can't get a transparent background.

Too bad

I'll just stick to uncentered comments for the moment

Thanks anyway