Difference between revisions of "KDE Visual Design Group/HIG/TextEdit"

(Move notice)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Purpose ==
{{Note|This page is now on [[https://hig.kde.org/components/editing/textedit.html https://hig.kde.org/]]}}
The ''text edit'' control displays multiple lines of text to the user and allow the user to enter unconstrained text. In contrast to a line edit that is used to enter only one line of text the text edit is the right control for more than one line.
== Examples ==
== Guidelines ==
=== Is this the right control ===
* Use text edits for input of unconstrained text with more than one line.
* Do not use a text edit for input of a few words. Use a [[KDE_Visual_Design_Group/HIG/LineEdit|line edit]] to enter single lines of text.
=== Behavior ===
* Do not make users scroll unnecessarily; size text boxes to eliminate the need for scrolling.
* Do not put horizontal scroll bars on multi-line text boxes.
=== Appearance ===
* When disabling the text edit, also disable any associated labels and buttons.
* Label every text edit with a descriptive caption to the top left (cf. [[KDE_Visual_Design_Group/HIG/Alignment| alignment]]).
* Create a buddy relation so access keys are assigned.

Latest revision as of 19:41, 5 February 2019

This page is now on [https://hig.kde.org/]

This page was last edited on 5 February 2019, at 19:41. Content is available under Creative Commons License SA 4.0 unless otherwise noted.