#1131 closed defect (worksforme)
size of tab labels using TabContainer with labelPosition left-h
Reported by: | gv | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.3 |
Keywords: | tabcontainer left-h width | Cc: | |
Blocked By: | Blocking: |
Description
Hi I don't know if this is a dojo bug o a my failure... anyway, when I use a TabContainer? with labelPosition="left-h" the labels have different widths, depending on labels-text length. This is an ugly effect IMHO, every label tab should have the same width. I've tried (with no results :( ) to 'play' with _doSizing function in TabContainer?.js (my idea was to calculate the max width an set all labels to that widht in case of left-h layout) Even hard coding the width, i.e. something like child.resizeTo(100, 30), has no effect.
Hope to be clear enough, I've some problems with english too.... :D
I'm using dojo 0.3.1, firefox Mozilla/5.0 (X11; U; Linux i686; it; rv:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1) linux 2.6.15
Thanks gv
Change History (3)
comment:1 Changed 15 years ago by
Milestone: | → 0.5 |
---|
comment:2 Changed 14 years ago by
Milestone: | 0.5 → 0.4 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Seems to work for me, try:
http://archive.dojotoolkit.org/nightly/tests/widget/test_TabContainer.html
(but wait a day for the archive to get recreated w/my latest changes)