mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-16 00:19:53 +01:00
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.
This commit is contained in:
@@ -12,8 +12,8 @@ TextField {
|
|||||||
color: "#1E2326"
|
color: "#1E2326"
|
||||||
opacity: 0.7
|
opacity: 0.7
|
||||||
radius: parent.width / 2
|
radius: parent.width / 2
|
||||||
height: 30
|
width: parent.width
|
||||||
width: 270
|
height: width / 9
|
||||||
border.width: 1
|
border.width: 1
|
||||||
border.color: "#121517"
|
border.color: "#121517"
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|||||||
Reference in New Issue
Block a user