mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix distorted date time calendar popup
This commit is contained in:
parent
b18e33c880
commit
4ce16e1e31
@ -41,7 +41,7 @@ QgsDateTimeEdit::QgsDateTimeEdit( QWidget *parent )
|
||||
mNullLabel->setStyleSheet( "position: absolute; border: none; font-style: italic; color: grey;" );
|
||||
mNullLabel->hide();
|
||||
|
||||
setStyleSheet( QString( "padding-right: %1px;" ).arg( mClearButton->sizeHint().width() + spinButtonWidth() + frameWidth() + 1 ) );
|
||||
setStyleSheet( QString( ".QWidget, QLineEdit, QToolButton { padding-right: %1px; }" ).arg( mClearButton->sizeHint().width() + spinButtonWidth() + frameWidth() + 1 ) );
|
||||
|
||||
QSize msz = minimumSizeHint();
|
||||
setMinimumSize( qMax( msz.width(), mClearButton->sizeHint().height() + frameWidth() * 2 + 2 ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user