Support and General Use > Theming and Appearance Customization

Alignment of menu items?

(1/2) > >>

Sam Bald:
I'm noticing that the menus on many of the themes for Rockbox aren't aligned properly. Let me show you. This is what the menu is supposed to look like:

Rockbox
   Files
   Database
   Playlists
   Recording
   and so on...

Notice that the "Rockbox" header is slightly to the left of the menu items. But a lot of themes I see look like this:

Rockbox
Files
Database
Playlists
Recording
and so on...

The header is aligned with the menu items, and if I didn't know better I would think that "Rockbox" is one of the menu items, because there's nothing to distinguish it from that apart from the fact that I can't select it. And the same thing happens throughout all the other menus. It's no biggie, but it just doesn't look nice.

So, does anyone know why this happens? Better yet, does anyone know how to fix that?

JdGordon:
that happens if icons are disabled. You can "fix" it by either turning icons back on, or using a sbs which positions the list and the title wherever you want.

epithetless:
From my experience, it happens if you have the scrollbar option set to "off" (whether or not icons are enabled). It was my impression that, ever since scrollbar width adjustment became possible, the indentation presents itself only to accommodate a scrollbar...which means: no scrollbar, no indentation.

I used to prefer having the indentation myself, but I've since gotten used to seeing menus as a single, flush list (and there's no way I'd enable that -- in my opinion -- garish scrollbar to bring the indentation back).

A note to the Sam Bald on the header seeming indistinguishable from the rest of the list: The new %Lt (list title) tag now allows you to select a different font for list titles (e.g. a bold one, if you so choose). It's too new to have been adopted by (m)any available themes (that I know of), but it does offer a way for menu headers to stand out in lieu of indentation.

JdGordon:
ah yes, you are correct, but there is code to show the indent if the title is displayed so this appears to be a bug. go ahead and file it on flysrpay.

epithetless:

--- Quote from: JdGordon on March 12, 2010, 01:12:04 AM ---...so this appears to be a bug. go ahead and file it on flysrpay.

--- End quote ---

It's all yours, Sam Bald. ;)

Navigation

[0] Message Index

[#] Next page

Go to full version