diff options
author | Dave Davenport <qball@gmpclient.org> | 2019-12-26 14:24:10 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2019-12-26 14:24:10 +0100 |
commit | f3bb043df09190063665176d4afb712340c4f716 (patch) | |
tree | 085937800baa7dcb2726f8133c2df4840a37f1a2 /doc/rofi-theme.5.markdown | |
parent | 2c56e5ca330bee411e2544ff8b10dc3330c4e8e9 (diff) |
[Textbox] Add placeholder.
Fixes: #1020
Diffstat (limited to 'doc/rofi-theme.5.markdown')
-rw-r--r-- | doc/rofi-theme.5.markdown | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown index b7bc8b61..c1f05e20 100644 --- a/doc/rofi-theme.5.markdown +++ b/doc/rofi-theme.5.markdown @@ -639,18 +639,20 @@ The following properties are currently supported: ### textbox: -* **background-color**: color -* **border-color**: the color used for the border around the widget. -* **font**: the font used by this textbox (string). -* **str**: the string to display by this textbox (string). -* **vertical-align**: vertical alignment of the text (`0` top, `1` bottom). -* **horizontal-align**: horizontal alignment of the text (`0` left, `1` right). -* **text-color**: the text color to use. -* **highlight**: text style {color}. +* **background-color**: color +* **border-color**: the color used for the border around the widget. +* **font**: the font used by this textbox (string). +* **str**: the string to display by this textbox (string). +* **vertical-align**: vertical alignment of the text (`0` top, `1` bottom). +* **horizontal-align**: horizontal alignment of the text (`0` left, `1` right). +* **text-color**: the text color to use. +* **highlight**: text style {color}. color is optional, multiple highlight styles can be added like: bold underline italic #000000; -* **width**: override the desired width for the textbox. -* **content**: Set the displayed text (String). -* **blink**: Enable/Disable blinking on an input textbox (Boolean). +* **width**: override the desired width for the textbox. +* **content**: Set the displayed text (String). +* **placeholder**: Set the displayed text (String) when nothing is entered. +* **placeholder-color**: Color of the placeholder text. +* **blink**: Enable/Disable blinking on an input textbox (Boolean). ### listview: * **columns**: integer |