Qt6 QCalendarWidget days too wide
-
Hi folks,
I want to fix a QCalendarWidget into about 150 pixels,
but I observe that it wants to have days that are maybe 50 pixels
wide each, so an entire week will not fit.
Is there a way to tell the QCalendarWidget to squeeze them all into
the given width and not scroll horizontally?
Thanks. -
Hi I also have this problem but for me it only occurs for some fonts, for example Cambria. When i change the font for the QCalendarWdiget to Palatino Linotype the problem goes away :-)
@hskoglund I think in my case it may be a response to the scale factor. My Linux distro is configured for a 2X scale of all fonts. If so this could mean that the day cell's size is being incorrectly calculated.