parent
da1566c0c8
commit
386c679dfb
|
@ -28,6 +28,12 @@ namespace
|
|||
QskBoxBorderColors outlineColors( const QskTextInput* input )
|
||||
{
|
||||
auto borderColors = input->boxBorderColorsHint( Q::Panel );
|
||||
|
||||
if( input->labelText().isEmpty() )
|
||||
{
|
||||
return borderColors;
|
||||
}
|
||||
|
||||
auto topGradient = borderColors.gradientAt( Qt::TopEdge );
|
||||
|
||||
const auto panelRect = input->subControlRect( Q::Panel );
|
||||
|
|
Loading…
Reference in New Issue