mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Remove interior button focus color for QgsColorButton wells
- Focus color tinted button's set color on platforms like Ubuntu - Border should be updated with OS-style focus color when button in focus (currently no focus hint)
This commit is contained in:
parent
5b7c895138
commit
4d0be59c96
@ -233,6 +233,7 @@ void QgsColorButton::setButtonBackground()
|
||||
|
||||
//QgsDebugMsg( QString( "%1" ).arg( bkgrd ) );
|
||||
|
||||
// TODO: get OS-style focus color and switch border to that color when button in focus
|
||||
setStyleSheet( QString( "QgsColorButton{"
|
||||
" %1"
|
||||
" background-position: top left;"
|
||||
@ -240,6 +241,7 @@ void QgsColorButton::setButtonBackground()
|
||||
" background-clip: content;"
|
||||
" padding: 2px;"
|
||||
" margin: %2;"
|
||||
" outline: none;"
|
||||
" border-style: outset;"
|
||||
" border-width: 1px;"
|
||||
" border-color: rgb(%3,%3,%3);"
|
||||
@ -251,6 +253,7 @@ void QgsColorButton::setButtonBackground()
|
||||
" background-clip: content;"
|
||||
" padding: 1px;"
|
||||
" margin: %2;"
|
||||
" outline: none;"
|
||||
" border-style: inset;"
|
||||
" border-width: 2px;"
|
||||
" border-color: rgb(128,128,128);"
|
||||
|
Loading…
x
Reference in New Issue
Block a user