mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
libs: adjust the minimum and preferred size of Plasma::Calendar widget
both to fit default configuration, font size not taken into account but it was so before. resizing the widget is an option (the plasma applets and the calendar that pops from the date on the panel are resizeble) Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
81834ca011
commit
525c3a7610
1 changed files with 2 additions and 2 deletions
|
@ -229,8 +229,8 @@ void Calendar::configAccepted(KConfigGroup cg)
|
|||
|
||||
void CalendarPrivate::updateSize()
|
||||
{
|
||||
QSize minSize = QSize(200, 200);
|
||||
QSize prefSize = calendarWidget ? calendarWidget->size().toSize() : QSize(250, 250);
|
||||
QSize minSize = QSize(300, 250);
|
||||
QSize prefSize = calendarWidget ? calendarWidget->size().toSize() : QSize(300, 250);
|
||||
|
||||
q->setMinimumSize(minSize);
|
||||
q->setPreferredSize(prefSize);
|
||||
|
|
Loading…
Add table
Reference in a new issue