mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Merge pull request #2014 from elpaso/hidpi-improvements
Hidpi improvements
This commit is contained in:
commit
15c1dbc438
@ -1773,7 +1773,7 @@ void QgisApp::createStatusBar()
|
||||
mCoordsLabel->setObjectName( "mCoordsLabel" );
|
||||
mCoordsLabel->setFont( myFont );
|
||||
mCoordsLabel->setMinimumWidth( 10 );
|
||||
mCoordsLabel->setMaximumHeight( 20 );
|
||||
//mCoordsLabel->setMaximumHeight( 20 );
|
||||
mCoordsLabel->setMargin( 3 );
|
||||
mCoordsLabel->setAlignment( Qt::AlignCenter );
|
||||
mCoordsLabel->setFrameStyle( QFrame::NoFrame );
|
||||
@ -1787,7 +1787,7 @@ void QgisApp::createStatusBar()
|
||||
mCoordsEdit->setFont( myFont );
|
||||
mCoordsEdit->setMinimumWidth( 10 );
|
||||
mCoordsEdit->setMaximumWidth( 300 );
|
||||
mCoordsEdit->setMaximumHeight( 20 );
|
||||
//mCoordsEdit->setMaximumHeight( 20 );
|
||||
mCoordsEdit->setContentsMargins( 0, 0, 0, 0 );
|
||||
mCoordsEdit->setAlignment( Qt::AlignCenter );
|
||||
QRegExp coordValidator( "[+-]?\\d+\\.?\\d*\\s*,\\s*[+-]?\\d+\\.?\\d*" );
|
||||
@ -1807,7 +1807,7 @@ void QgisApp::createStatusBar()
|
||||
mScaleLabel->setObjectName( "mScaleLable" );
|
||||
mScaleLabel->setFont( myFont );
|
||||
mScaleLabel->setMinimumWidth( 10 );
|
||||
mScaleLabel->setMaximumHeight( 20 );
|
||||
//mScaleLabel->setMaximumHeight( 20 );
|
||||
mScaleLabel->setMargin( 3 );
|
||||
mScaleLabel->setAlignment( Qt::AlignCenter );
|
||||
mScaleLabel->setFrameStyle( QFrame::NoFrame );
|
||||
@ -1823,7 +1823,7 @@ void QgisApp::createStatusBar()
|
||||
mScaleEdit->lineEdit()->setFont( myFont );
|
||||
mScaleEdit->setMinimumWidth( 10 );
|
||||
mScaleEdit->setMaximumWidth( 100 );
|
||||
mScaleEdit->setMaximumHeight( 20 );
|
||||
//mScaleEdit->setMaximumHeight( 20 );
|
||||
mScaleEdit->setContentsMargins( 0, 0, 0, 0 );
|
||||
mScaleEdit->setWhatsThis( tr( "Displays the current map scale" ) );
|
||||
mScaleEdit->setToolTip( tr( "Current map scale (formatted as x:y)" ) );
|
||||
@ -1838,7 +1838,7 @@ void QgisApp::createStatusBar()
|
||||
mRotationLabel->setObjectName( "mRotationLabel" );
|
||||
mRotationLabel->setFont( myFont );
|
||||
mRotationLabel->setMinimumWidth( 10 );
|
||||
mRotationLabel->setMaximumHeight( 20 );
|
||||
//mRotationLabel->setMaximumHeight( 20 );
|
||||
mRotationLabel->setMargin( 3 );
|
||||
mRotationLabel->setAlignment( Qt::AlignCenter );
|
||||
mRotationLabel->setFrameStyle( QFrame::NoFrame );
|
||||
|
@ -45,7 +45,7 @@ QgsAttributeTableView::QgsAttributeTableView( QWidget *parent )
|
||||
QSettings settings;
|
||||
restoreGeometry( settings.value( "/BetterAttributeTable/geometry" ).toByteArray() );
|
||||
|
||||
verticalHeader()->setDefaultSectionSize( 20 );
|
||||
//verticalHeader()->setDefaultSectionSize( 20 );
|
||||
horizontalHeader()->setHighlightSections( false );
|
||||
|
||||
mTableDelegate = new QgsAttributeTableDelegate( this );
|
||||
|
Loading…
x
Reference in New Issue
Block a user