Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.7.0
-
None
-
c7b8289a706f982c1cf5091a4d86606ec758b05d
Description
Customizing background of a TextField in a RowLayout minimizes the width of it and no text can be seen.
Example code (Comment out the background property to get correct result):
import QtQuick 2.7 import QtQuick.Controls 2.0 import QtQuick.Layouts 1.3 Item { width: 400 height: 100 RowLayout { width: 200 height: 50 x: 10 y: 10 Label { text: 'Username:' } TextField { background: Rectangle { color: 'red' } } } }