Titles of issues in overview pages are abbreviated, but more space is actually allocated. This leads to unused empty space and missing information from issue titles.

Submitted by Eelco Visser on 20 September 2010 at 15:16

On 20 September 2010 at 15:56 Sander Vermolen commented:

Indeed. The reason is the following: The size of the title is determined in number of characters, whereas the amount of allocated space is determined in number of pixels. The allocated space has a minimum (pixel) width, to ensure the title is not cut off across lines. And as I am not using a fixed-width font, the width of the text in number of pixels varies. To ensure the allocated space is sufficient for wide text (e.g. lots of capital characters), I take a liberal amount of allocated space.

I can see two solutions. The first is somehow calculating the number of pixels consumed by the text at hand. Yet this is hard and fragile, so hardly a reasonable solution. The second is somehow ensuring the title is not cut across multiple lines.

I will search for a css option to do the latter. Or do you perhaps know a different solution for this problem (e.g. one used in researchr)?


On 20 September 2010 at 16:41 Eelco Visser commented:

Using

overflow : hidden

ensures that text does not overflow the enclosing box …


On 17 December 2010 at 13:12 Sander Vermolen removed tag 1.00

On 17 December 2010 at 13:12 Sander Vermolen tagged 1.01

On 9 February 2011 at 15:52 Sander Vermolen removed tag 1.01

On 9 February 2011 at 15:52 Sander Vermolen tagged 1.02

On 15 February 2011 at 16:05 Sander Vermolen removed tag 1.02

On 15 February 2011 at 16:05 Sander Vermolen tagged 1.10

On 20 April 2011 at 14:59 Sander Vermolen removed tag 1.10

On 20 April 2011 at 14:59 Sander Vermolen tagged 1.14

On 3 August 2011 at 13:34 Sander Vermolen tagged 1.20

On 3 August 2011 at 13:34 Sander Vermolen removed tag 1.14

On 23 August 2011 at 16:54 Sander Vermolen removed tag 1.20

On 23 August 2011 at 16:54 Sander Vermolen tagged 1.30

On 29 December 2012 at 19:38 Eelco Visser removed tag 1.30

Log in to post comments