Opened 16 years ago

Closed 15 years ago

#1644 closed defect (fixed)

DatePicker month Label is offset wrong in IE when displayWeeks=1 and staticDisplay=true

Reported by: tk Owned by: Adam Peller
Priority: high Milestone: 0.9
Component: Widgets Version: 0.3
Keywords: Cc: Adam Peller, tk
Blocked By: Blocking:


Like the topic says... this is related to the 2nd or so test case in test_DatePicker.html. Basically the MonthLabel? is pushed down to the next line below the controls.... This appeared after the sizing changes in DatePicker?.

Change History (10)

comment:1 Changed 16 years ago by tk

I think to fix this one we are going to have to reinstate the hard coded minimal size of the DP... (160px I believe it was)

comment:2 Changed 16 years ago by Adam Peller

Component: GeneralWidgets

Looking at this now, it appears to happen in FF as well, but this is a pretty obscure case. I'm going to suggest we look at this for 0.5

comment:3 Changed 16 years ago by Adam Peller

would get fixed by #1528

comment:4 Changed 15 years ago by bill

I just closed #1528 because the suggested solutions looks too slow and also requires extra code. Please try just getting rid of the CSS minimum-size thing, and leverage the table to keep the arrows from moving (put the up arrow in column 1, the down arrow in column 7, and the month name in columns 2-6)

comment:5 Changed 15 years ago by Adam Peller

Okay, I don't think it's possible to have it all without taking measurements (a last resort we seem to be ruling out). Table layout is clearly the way to go, but I think the arrows will move along with the table width. This is unacceptable to Dylan, so we may have to work out an alternate design.

comment:6 Changed 15 years ago by tk

I'll look into some alternatives in the upcoming days as well.

comment:7 Changed 15 years ago by Adam Peller

Owner: changed from Adam Peller to tk

Karl, I think you were looking at this with your DatePicker? layout work. This seems to be a problem even without displayWeeks=1 sometimes -- if the month width is wide enough and the calendar part isn't wide enough to compensate, it will wrap.

comment:8 Changed 15 years ago by tk

Yes, however my UI change never worked due to CSS problems.... I've since abondoned in hopes it will magically fix itself... :) j/k,I got stuck and couldnt figure it out, I'll revisit it very soon.

comment:9 Changed 15 years ago by Adam Peller

Owner: changed from tk to Adam Peller

comment:10 Changed 15 years ago by Adam Peller

Resolution: fixed
Status: newclosed

Indirectly fixed by dijit.Calendar rewrite of layout, though it's no longer possible to restrict the display in this manner

Note: See TracTickets for help on using tickets.