Skip to content

Conversation

@SomberNight
Copy link
Member

This tries to make the dialog better behave if the user types a lot of text.

note: I have not tested on Android.

@f321x
Copy link
Member

f321x commented Jul 21, 2025

note: I have not tested on Android.

tested on android, works as expected

id: user_text
Layout.fillWidth: true
Flickable {
width: parent.width
Copy link
Member

@accumulator accumulator Jul 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid binding width (or height, x, y) in direct children of Layout. Direct children should as a rule of thumb always use Layout attached properties, e.g. Layout.fillWidth: true, or Layout.preferredWidth: 100, as Layout takes control of these properties in its children.

TextArea {
id: user_text
Layout.fillWidth: true
Flickable {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that there is controls/ElTextArea that aims to solve the scrolling issue as well (albeit still a bit glitchy in its current form). It is used in e.g. SignVerifyMessageDialog.qml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants