Solved QCalendarWidget doesn't show month and year on top
-
Hi,
My QCalendarWidget doesn't show the month and year when the program runs (it is visible in design mode). How can I turn it on?Thank you.
-
@gabor53 For me it does (Windows 7, Qt 5.9). Did you change any properties of QCalendarWidget? Is it in a layout?
-
@gabor53
EnsurenavigationBarVisible == true
(at runtime) if that's what you mean? -
@JNBarchan
Hi,
It is visible. It showes the 2 little arrows, but not the minth and date combo boxes. -
The middle is missing ?
Make a clean project and just place a Calendar on form. If still missing, you got font issue or something like that.
-
@mrjj
Thank you. Cleen project worked. -
Ok so maybe in other project, you used a styelsheet or something that could disturb it ?
-
@mrjj
Yes, it was a style shedt it didn't like. -
@gabor53
Ok, you can fix that using names in stylesheet if needed.