Menu

#2 can't paint flat border

open
None
5
2006-11-11
2006-11-10
No

When using the control in a forms API (FormToolkit),
paintBordersFor() won't work. This is not specifically
a bug for DatePicker, but really it's a bad
implementation on the paitBordersFor method in the
Forms API. It'd be nice if the widget would paint a
flat border, but if not, I've included a subclass on
FormToolkit that people can use if they want the widget
to be part of the form. I'll also include a screenshot
to show the result.

Discussion

  • Andy Czerwonka

    Andy Czerwonka - 2006-11-10

    result of custom form toolkit

     
  • Andy Czerwonka

    Andy Czerwonka - 2006-11-10

    Logged In: YES
    user_id=182888

    Here's the code...

     
  • Andy Czerwonka

    Andy Czerwonka - 2006-11-10

    form toolkit code that'll render the datepicker with a flat border

     
  • Alexey Harlamov

    Alexey Harlamov - 2006-11-11
    • status: open --> pending
     
  • Alexey Harlamov

    Alexey Harlamov - 2006-11-11

    Logged In: YES
    user_id=891422

    Thank you for your participation. We will integrate you
    patch ASAP.

     
  • Alexey Harlamov

    Alexey Harlamov - 2006-11-11
    • assigned_to: nobody --> aih1013
     
  • Andy Czerwonka

    Andy Czerwonka - 2006-11-11
    • status: pending --> open
     
  • Andy Czerwonka

    Andy Czerwonka - 2006-11-11

    Logged In: YES
    user_id=182888

    There's a bug in the patch... there should not be a "break"
    at the end paintControl method.

     

Log in to post a comment.