From c17dff593d835e95a6f28733af1894a547084f48 Mon Sep 17 00:00:00 2001 From: Abraham Murciano Date: Thu, 15 Apr 2021 21:44:52 +0300 Subject: [PATCH] Use parent width rather than fixed width When the action buttons are too wide, it causes the text box to be that wide, since the `Input` has `Layout.fillWidth: true` set, causing the text to overflow the background. This change makes the background expand with the text. --- kde/sddm/components/Input.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kde/sddm/components/Input.qml b/kde/sddm/components/Input.qml index a667f43..a1295ec 100644 --- a/kde/sddm/components/Input.qml +++ b/kde/sddm/components/Input.qml @@ -12,10 +12,10 @@ TextField { color: "#1E2326" opacity: 0.7 radius: parent.width / 2 - height: 30 - width: 270 + width: parent.width + height: width / 9 border.width: 1 border.color: "#121517" anchors.centerIn: parent } -} \ No newline at end of file +}