#14342: wxGtk: wxCalendarCtrl not wide enough

5 views
Skip to first unread message

wxTrac

unread,
May 28, 2012, 3:42:24 AM5/28/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14342>

#14342: wxGtk: wxCalendarCtrl not wide enough
---------------------+------------------------------------------------------
Reporter: fsenore | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGTK | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
---------------------+------------------------------------------------------
Under GTK the calendar control is not wide enough so the date cannot be
seen completely: a small part is cut by the control's borders.
The problem can be seen in the calendar sample with a copy of trunk
updated to may 6 (revision 71368).


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14342>

wxTrac

unread,
May 28, 2012, 8:53:26 AM5/28/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14342#comment:1>

#14342: wxGtk: wxCalendarCtrl not wide enough
---------------------+------------------------------------------------------
Reporter: fsenore | Owner:
Type: defect | Status: infoneeded_new
Priority: normal | Milestone:
Component: wxGTK | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
---------------------+------------------------------------------------------
Changes (by vadz):

* status: new => infoneeded_new


Comment:

I don't see it here... What is your GTK+ version and theme (and can you
check whether it's theme dependent by changing it?), can you please attach
a screenshot of what you see?


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14342#comment:1>

wxTrac

unread,
May 28, 2012, 9:45:06 AM5/28/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14342#comment:2>

#14342: wxGtk: wxCalendarCtrl not wide enough
---------------------+------------------------------------------------------
Reporter: fsenore | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGTK | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
---------------------+------------------------------------------------------
Changes (by fsenore):

* status: infoneeded_new => new


Comment:

I am using Ubuntu 8.03 32 bit with its default theme.
The GTK+ version should be: 2.12.9-3ubuntu5.
I tried other themes and the problem is still there.

I will attach a screenshot of the control.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14342#comment:2>

wxTrac

unread,
May 28, 2012, 3:16:42 PM5/28/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14342#comment:3>

#14342: wxDatePickerCtrl not wide enough
---------------------+------------------------------------------------------
Reporter: fsenore | Owner:
Type: defect | Status: confirmed
Priority: normal | Milestone:
Component: wxGTK | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 0 | Blocking:
---------------------+------------------------------------------------------
Changes (by vadz):

* status: new => confirmed


Comment:

Wait, this is not `wxCalendarCtrl`, this is `wxDatePickerCtrl`. I do see
the problem there.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14342#comment:3>

wxTrac

unread,
May 28, 2012, 3:38:04 PM5/28/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14342#comment:4>

#14342: wxDatePickerCtrl not wide enough
----------------------+-----------------------------------------------------
Reporter: fsenore | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: wxGTK | Version: 2.9-svn
Resolution: fixed | Keywords:
Blockedby: | Patch: 0
Blocking: |
----------------------+-----------------------------------------------------
Changes (by VZ):

* status: confirmed => closed
* resolution: => fixed


Comment:

(In [71579]) Improve wxDatePickerCtrlGeneric best size calculation.

Make the control just wide enough to fully show the contents of its text
part.

This is still not ideal as we don't take into account wxComboCtrl internal
complications but better than before.

Closes #14342.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14342#comment:4>

wxTrac

unread,
May 29, 2012, 1:54:38 AM5/29/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14342#comment:5>

#14342: wxDatePickerCtrl not wide enough
----------------------+-----------------------------------------------------
Reporter: fsenore | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: wxGTK | Version: 2.9-svn
Resolution: fixed | Keywords:
Blockedby: | Patch: 0
Blocking: |
----------------------+-----------------------------------------------------

Comment(by fsenore):

Replying to [comment:3 vadz]:
> Wait, this is not `wxCalendarCtrl`, this is `wxDatePickerCtrl`. I do see
the problem there.

Sorry for the wrong title. I am feeling rather stupid now....


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14342#comment:5>
Reply all
Reply to author
Forward
0 new messages