Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#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 13 years ago by dylan

Milestone: 0.5

comment:2 Changed 13 years ago by bill

Milestone: 0.50.4
Resolution: worksforme
Status: newclosed

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)

comment:3 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.