PDA

View Full Version : [CLOSED][3.0] Tab rendering issue



mschwartz
17 Apr 2009, 9:18 AM
If a tab's title has a <br/> tag or otherwise is rendered with more than one line, the tab looks proper but the remaining tabs are not. As well, the layout of my viewport is messed up. In my case, a paging toolbar at the bottom is rendered partway off the bottom of the browser window (clipped).

Suggestion: use Ext.util.TextMetrics to figure how to layout things proper.

mjlecomte
17 Apr 2009, 11:57 AM
This seems to be more of a limitation/feature request than a bug necessarily.

mschwartz
17 Apr 2009, 12:41 PM
I didn't label it a bug (in the title)

mjlecomte
17 Apr 2009, 12:47 PM
I didn't label it a bug (in the title)

If you post in the bugs forum that's the assumption, hence that really big yellow banner you see when you post in this forum that says only post bugs yada yada yada...

mschwartz
17 Apr 2009, 12:48 PM
OK, it's a bug.

evant
17 Apr 2009, 1:52 PM
This isn't a bug. TextMetrics is expensive to execute, if you need this functionality then you should probably build it in yourself, for a majority of cases it works fine as is.