LonBoy
21.05.2001, 13:17
Has anyone came up with a way to 'auto-size' (ie wrap) text in the menu's? I am able to set the height for each item manually but would be really great for the script to do this automatically. I changed the overflow setting in cm_makeStyle() from clip to visible but did not solve.
Best example would be a menu item where width is set to 20% of available screen resolution and text label on an item is say, 20 characters. Looks just fine in higher resolution, but as screen size shrinks, text will 'wrap' to a second line and the extra or wrapped text will get clipped. Looking for a way around this without hand coding each item with a set height or having a bunch of extra space below an item to accomodate lower resolution or browser window sizes.
Thanks in advance for any advice! Keep up the great work!
Best example would be a menu item where width is set to 20% of available screen resolution and text label on an item is say, 20 characters. Looks just fine in higher resolution, but as screen size shrinks, text will 'wrap' to a second line and the extra or wrapped text will get clipped. Looking for a way around this without hand coding each item with a set height or having a bunch of extra space below an item to accomodate lower resolution or browser window sizes.
Thanks in advance for any advice! Keep up the great work!