wxDatePickerCtrl drop down kind and its day selection window

36 views
Skip to first unread message

Rossano Paris

unread,
May 16, 2024, 4:47:14 AMMay 16
to wx-users
Hi at all

Is there a way to set a customized font size regarding the day selection area?
I'm asking this because on a tuch screen system, the day selection is unconfortable as  I can change the control font property, but the drop down calendar font remains too small.

calendar.jpg

Thank you

Gunter Königsmann

unread,
May 16, 2024, 8:49:53 AMMay 16
to wx-u...@googlegroups.com
Theoretically that sounds like the OS's support for touch screens being the problem...

Vadim Zeitlin

unread,
May 17, 2024, 9:05:32 AMMay 17
to wx-u...@googlegroups.com
On Thu, 16 May 2024 01:47:14 -0700 (PDT) Rossano Paris wrote:

RP> Is there a way to set a customized font size regarding the day selection
RP> area?

I'm afraid this is something not supported by the native control, at least
when using the (default) themed look. We could change the font if we
disabled the theme, see https://stackoverflow.com/a/54912594/15275 for
example, but doing this could result in its own problems and definitely
wouldn't look quite right. But maybe it's still worth doing it if the font
is changed...

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
https://www.tt-solutions.com/

Rossano Paris

unread,
May 17, 2024, 9:30:47 AMMay 17
to wx-users
Thank you both for your answers.

The topic here is related to the UI usability in case an application could be executed on a desktop PC with a touch screen or not.
Generally speaking about some widgets, they are not "touch screen oriented", I mean, the only chance for a developer is to operate using different fonts size in order to gain a better usability.
I know, it is not a "clean" solution, but perhaps taking in consideration that, it could help someone.

Regards
Rossano
Reply all
Reply to author
Forward
0 new messages