Difference between revisions of "Projects/Usability/HIG/TextEdit"

< Projects‎ | Usability‎ | HIG
Jump to: navigation, search
(Created page with "__NOTOC__ == Purpose == 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 ...")
 
 
(One intermediate revision by one user not shown)
Line 17: Line 17:
 
* Label every text edit with a descriptive caption to the top left (cf. [[Projects/Usability/HIG/Alignment| alignment]]).
 
* Label every text edit with a descriptive caption to the top left (cf. [[Projects/Usability/HIG/Alignment| alignment]]).
 
* Create a buddy relation so access keys are assigned.
 
* Create a buddy relation so access keys are assigned.
 +
 +
[[Category:Usability]][[Category:Behavior]][[Category:Editing_and_Manipulation]][[Category:Unconstrained_input]]

Latest revision as of 13:47, 2 August 2013


[edit] Purpose

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.

[edit] Examples

[edit] Guidelines

[edit] 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 line edit to enter single lines of text.

[edit] 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.

[edit] 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. alignment).
  • Create a buddy relation so access keys are assigned.

This page was last modified on 2 August 2013, at 13:47. This page has been accessed 614 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal