I made a method getIconStyle() and i dynamically set the right left value, that works great now.
But still the container that is displayed is to small when the datefield (with the icon besides or inside it) is small What it does is that the left corner of the popup begins at the beginning of the date input field and the right corner is just at the beginnen of the icon (that is in my place just inside completely toe the right of the input field) So if i make the input field big (quite big!) then it displays fine. to small then it goes wrong. johan On 2/20/07, Frank Bille <[EMAIL PROTECTED]> wrote:
I don't have absolute positioning, so the calendar works just fine :) Frank On 2/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > Frank, you are using this new datepicker... how do you use it? > > Eelco > > > On 2/19/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > Filtered! So i couldn't see that nice picture :( > > > > How do you place the field itself? For servoy we use all CSS fixed > > positioning > > Then it doesn't work. I have to include that left:xxx else it will be > > completely in the front. > > > > johan > > > > > > On 2/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > > > > On 2/19/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > that value is just something that works for my field because that > field > > > was > > > > almost that big. > > > > But i don't want it to be after the field, but i want it to be over > the > > > > field bu then completely to the right. > > > > > > > > But i think we just need to have a over ridable method yes. But what > to > > > > extract? > > > > the complete img? or just the style? > > > > > > It's the div, not the image you're after here, correct? The image is > > > for the datepicker icon, so that would be a separate call. > > > > > > The default actually works great for me, as it always places the > > > calendar right under the text field I'm coupling it to, it's right > > > aligned to the right of the field (see attached image if that doesn't > > > get filtered by apache). > > > > > > Eelco > > > > > >
