Opened 15 years ago
Closed 14 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: |
Description
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 14 years ago by
comment:2 Changed 14 years ago by
Component: | General → Widgets |
---|---|
Milestone: | 0.4.1 → 0.5 |
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:4 Changed 14 years ago by
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 14 years ago by
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:7 Changed 14 years ago by
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 14 years ago by
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 14 years ago by
Owner: | changed from tk to Adam Peller |
---|
comment:10 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Indirectly fixed by dijit.Calendar rewrite of layout, though it's no longer possible to restrict the display in this manner
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)