PyQt5 QCalendarWidget – Setting Size Increment
In this article we will see how we can set the size increment to the QCalendarWidget. Size increment is used when calendar size is changeable with the change main window size.By default, for a newly-created calendar, this property contains a size with zero width and height.
Note : The size increment has no effect under Windows, and maybe disregarded by the window manager on X11.
In order to do this we will use
setSizeIncrementmethod with the QCalendarWidget object.
Syntax : calendar.setSizeIncrement(size)
Argument : It takes QSize object as argument
Return : It return None
Below is the implementation