From 146de0e0a4b6f971fce04d6d6968ffc4d15fcfcd Mon Sep 17 00:00:00 2001 From: johanneshilden Date: Fri, 6 Oct 2017 14:59:16 +0300 Subject: [PATCH] Change pen style to Qt::DashLine for disabled input line --- components/qtmaterialtextfield.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/qtmaterialtextfield.cpp b/components/qtmaterialtextfield.cpp index 9c5f58f..3804e7c 100644 --- a/components/qtmaterialtextfield.cpp +++ b/components/qtmaterialtextfield.cpp @@ -301,7 +301,7 @@ void QtMaterialTextField::paintEvent(QPaintEvent *event) pen.setColor(inputLineColor()); if (!isEnabled()) - pen.setStyle(Qt::DotLine); + pen.setStyle(Qt::DashLine); painter.setPen(pen); painter.setOpacity(1);