Hi, I want to increase the size of coordinate display box at status bar. However setMaximumWidth set to 400 but its not increasing.
mLineEdit = new QLineEdit( this ); mLineEdit->setMinimumWidth( 10 ); *mLineEdit->setMaximumWidth( 300 );* //mLineEdit->setMaximumHeight( 20 ); mLineEdit->setContentsMargins( 0, 0, 0, 0 ); mLineEdit->setAlignment( Qt::AlignCenter ); connect( mLineEdit, &QLineEdit::returnPressed, this, &QgsStatusBarCoordinatesWidget::validateCoordinates ); Any one help me out? Regards -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html _______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer