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

Submitter:  Wendy Boutin <wboutin>
Submitted:  Fri 10 Mar 2006 02:55:27 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Item Group:  wxwindows library defect Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Tue 13 Feb 2018 11:08:21 AM UTC, comment #2: 

Testing is deemed to have been completed.

Greg Chicares <chicares>
Group administrator
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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chicares (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-13 chicares StatusReady For Test Fixed
        Assigned towboutin None
        Open/ClosedOpen Closed
    2006-03-13 wboutin StatusFixed Ready For Test
        Assigned tozeitlin wboutin
        Open/ClosedClosed Open
    2006-03-12 zeitlin StatusNone Fixed
        Open/ClosedOpen Closed
    2006-03-10 wboutin Attached File- Added default-width-datepicker2.png, #3489
    2006-03-10 wboutin Attached File- Added default-width-datepicker1.png, #3488

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code