Skip to content

Commit

Permalink
Fix TextEdit widget phantom effects
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 9, 2016
1 parent 1f5a95f commit 9bda944
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/qml/editorwidgets/TextEdit.qml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Item {

TextField {
id: textField
height: config['IsMultiline'] !== true ? undefined : 0
height: textArea.height == 0 ? undefined : 0
visible: height !== 0
anchors.left: parent.left
anchors.right: parent.right

Expand All @@ -21,6 +22,7 @@ Item {
TextArea {
id: textArea
height: config['IsMultiline'] === true ? undefined : 0
visible: height !== 0
anchors.left: parent.left
anchors.right: parent.right

Expand Down

0 comments on commit 9bda944

Please sign in to comment.