diff --git a/designsystems/material3/QskMaterial3TextInputSkinlet.cpp b/designsystems/material3/QskMaterial3TextInputSkinlet.cpp index 44c1b74d..1a5c228f 100644 --- a/designsystems/material3/QskMaterial3TextInputSkinlet.cpp +++ b/designsystems/material3/QskMaterial3TextInputSkinlet.cpp @@ -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 );