How to disable the extra line at the end of a text? #47
serg-vinnie
started this conversation in
General
Replies: 2 comments 1 reply
-
there is no extra line added. at least I don't see such. how to reproduce? Note: there is an extra line concept in the text layout, but then again it has no representation in the storage. |
Beta Was this translation helpful? Give feedback.
0 replies
-
the last row is not numbered but it can be selected with mouse click. Can you confirm your last row is selectable? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
STTextView was created as a text editing tool and adding the extra line at the end of a text is completely reasonable step.
But it is completely unnecessary for a static text to display. In my opinion the extra line should be disabled alongside with the editing capability. So 'isEditable = false' should also disable the extra line as well.
But regardless of our agreement/disagreement of the isEditable behaviour I would like to know the exact place in the code which is responsible for the extra line.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions