mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
[ui] Fix source fields' virtual field comment widget on dark themes
This commit is contained in:
parent
3e774edcb6
commit
1552ae111b
@ -224,7 +224,7 @@ void QgsSourceFieldsProperties::setRow( int row, int idx, const QgsField &field
|
||||
expressionWidget->layout()->setContentsMargins( 0, 0, 0, 0 );
|
||||
expressionWidget->layout()->addWidget( editExpressionButton );
|
||||
expressionWidget->layout()->addWidget( new QLabel( mLayer->expressionField( idx ) ) );
|
||||
expressionWidget->setStyleSheet( "background-color: rgb( 200, 200, 255 )" );
|
||||
expressionWidget->setStyleSheet( "*[class~=\"QWidget\"] { background-color: rgba( 103, 0, 243, 0.12 ); } QToolButton { background-color: rgba( 203, 100, 243, 0.6 ); }" );
|
||||
mFieldsList->setCellWidget( row, AttrCommentCol, expressionWidget );
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user