Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Calendar popup size



  • Hello!

    I am using a QDateEdit with the popup option. I want to set the height of the calendar rect but I don't know how to do this.

    I tried with this:

      QCalendarWidget QWidget { 
    	alternate-background-color: #2a2a2a; 
    	max-width: 720px;
    	min-height: 100px; <--
    }
    

    But this increases the month bar too.

    How can I do that? Thank you very much!


Log in to reply