Re: [PATCH] Neaten up the layout for text beside icons



The reason the second screenshot it messed up is because the icon
width is just greater than 160 pixels and so it is aligned to the
second column, at 320 pixels. This was the case I explained as case b
in my earlier mail

"b) when the icon's width is actually just over 210 pixels, in which
case the icon gets allocated 420 pixels (the next multiple of the grid
size) and so in the case of say an icon being 215 pixels wide, you end
up with 205 pixels blank space."

There really isn't any solution for this, as to align the text to the
first columns baseline[1] would mean that part of the icon isn't going
to be on screen. I'm not sure if there's a fix for this, its a
limitation of having icons of variable sizes.

iain
[1] I call it baseline, but really its a vertical line that runs from
the top of the column and has the icon on the left hand side, and the
text on the right.

On Thu, 7 Oct 2004 13:13:13 -0400, Vincent Noel <vincent noel gmail com> wrote:

> HOWEVER, while doing this I think I ran into the reason for the
> 210-pixels grid : thumbnails. If you set the grid size at 160 pixels,
> the alignment of thumbnails is screwed. See second screenshot.
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]