bugLet me illustrate... - Bugs: bug #16058, wxDatePickerCtrl default width

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16058: wxDatePickerCtrl default width

Submitted by:  Wendy Boutin <wboutin>
Submitted on:  Fri 10 Mar 2006 02:55:27 PM UTC  
 
Category: GUISeverity: 3 - Normal
Item Group: wxwindows library defectStatus: Ready For Test
Privacy: PublicAssigned to: Wendy Boutin <wboutin>
Open/Closed: Open

Sun 12 Mar 2006 01:25:31 AM UTC, comment #1:

The bug was indeed in, the default date picker control size didn't take into account the current date format at all and so couldn't work for all formats.

But this turned out to be quite difficult to fix because the native control adds a lot of space around the date components separators but I couldn't find how much exactly and so had to try to guess. The result (in wx cvs HEAD now) is that there is enough space to show the complete date with all formats I tried (all that Windows proposes by default in the short date format combobox and a few other ones) but for some shorter formats there is some extra space left -- but it's not too bad so I think this bug can be considered fixed.

Vadim Zeitlin <zeitlin>
Project Member
Fri 10 Mar 2006 02:55:27 PM UTC, original submission:

There seems to be a problem with the default size of the
wxDatePickerCtrl control and the various date formats
offered in msw's XP.

The first attachment is what one user gets with the default
size. You'll see something different if you don't use the
same date format. Now suppose some end user has set the
'short' date format to 'dddd, MMMM dd, yyyy': the second
attachment shows what they'll see, again with the control's
default size.

The only reasonable place to handle the issue is inside wx.

Wendy Boutin <wboutin>In charge of this item.

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 13 Mar 2006 03:27:51 PM UTCwboutinStatusFixed=>Ready For Test
  Assigned tozeitlin=>wboutin
  Open/ClosedClosed=>Open
Sun 12 Mar 2006 01:25:31 AM UTCzeitlinStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Fri 10 Mar 2006 02:57:27 PM UTCwboutinAttached File-=>Added default-width-datepicker2.png, #3489
Fri 10 Mar 2006 02:55:27 PM UTCwboutinAttached File-=>Added default-width-datepicker1.png, #3488

Back to the top


Powered by Savane 3.1-cleanup1