[ 
https://issues.apache.org/jira/browse/WICKET-747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512835
 ] 

Gerolf Seitz commented on WICKET-747:
-------------------------------------

found the bad boy.
the reason for the (mis)behavior is because of the "overflow:hidden" style for 
the css-class "yui-calcontainer. setting this to "overflow:visible" (or just 
leaving out the overflow style definition) renders the full calendar, not 
matter whether there is enough space or not.
you can easily try it out with e.g. firebug.

i just added 
subject.style.overflow = "visible";
to Wicket.DateTime#positionRelativeTo and it works like a charm (at least in 
IE7 and FF2.0)

there's still an issue with FF2.0
if the font-size is changed (eg via ctrl+ || ctrl-) the calendar still shows up 
at the location as if the fonts haven't been changed.
i will post a screenshot.

> wrong positioning of date pickers
> ---------------------------------
>
>                 Key: WICKET-747
>                 URL: https://issues.apache.org/jira/browse/WICKET-747
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>            Reporter: Eelco Hillenius
>            Assignee: Eelco Hillenius
>             Fix For: 1.3.0-beta3
>
>         Attachments: dump.png, dump.png, dump2.png
>
>
> See image. We should probably try to position datepickers relative to the 
> either the button icon or the component they are attached to and/ or make 
> this configurable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to