DatePicker Layout Issues

Nov 1, 2009 at 10:07 PM

I wish I could attach screenshots to the post.  I will do my best to describe the three issues.

  1. The default text "Show Calendar", and it is centered in the text box vertically, and has a large padding from the left edge.  When the box is is tall enough it shows fine, however it requires it to be bigger than other controls and doesn't fit in.  When I have it auto size to the layout and size with the rest of the controls the bottom of this text get clipped.  I tried to set the padding of the control but it changes nothing.
  2. When you select a date or type anything into the field the text is places in the upper left corner of the box the left padding is fine, however it should be centered vertically but isn't so it looks really bad.
  3. The button to show the calendar pop out is placed in the upper right corner. The right padding is fine, however it should either be centered vertically, or the image should stretch to fill the area with equal padding around it.

There doesn't seem to be any settings to allow control over the padding of the controls used within the DatePicker, if these are not available I would think that it should follow basic rules like vertical centering of all the text, with the same padding on the left, with the icon also either vertical centered or stretched to fit with equal padd