mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 15:10:19 +00:00
Documentation: Add section on Ellipses to Text.md
This commit is contained in:
parent
a03fb66216
commit
024360e604
Notes:
sideshowbarker
2024-07-17 02:42:21 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/024360e604 Pull-request: https://github.com/SerenityOS/serenity/pull/18988
1 changed files with 23 additions and 0 deletions
|
@ -52,3 +52,26 @@ of proper names, weekdays, etc.
|
||||||
- Radio button labels
|
- Radio button labels
|
||||||
- Status bar text
|
- Status bar text
|
||||||
- Text box labels
|
- Text box labels
|
||||||
|
|
||||||
|
## Ellipses
|
||||||
|
|
||||||
|
The ellipsis, represented by a series of three periods (...), has two special
|
||||||
|
functions in the interface:
|
||||||
|
|
||||||
|
- Eliding text
|
||||||
|
- Foreshadowing additional user input
|
||||||
|
|
||||||
|
The first occurs programmatically, but the second requires care when setting
|
||||||
|
text manually.
|
||||||
|
|
||||||
|
Control text which implies an action whose effect is incomplete pending further
|
||||||
|
user input should end in an ellipsis. Opening a new window does not in itself
|
||||||
|
justify the use of an ellipsis; the dialog must be an intermediate step toward
|
||||||
|
completing the action.
|
||||||
|
|
||||||
|
Ellipses should be used sparingly elsewhere to avoid confusion with elision.
|
||||||
|
|
||||||
|
#### Examples:
|
||||||
|
- Save As...
|
||||||
|
- Browse...
|
||||||
|
- Insert Emoji...
|
||||||
|
|
Loading…
Reference in a new issue