1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Update theme manpage textbox

- Add missing options. (valign/halign, width, str, font)
This commit is contained in:
Dave Davenport 2017-07-25 08:25:21 +02:00
parent 89c6a0f00b
commit f876963220
2 changed files with 30 additions and 4 deletions

View file

@ -758,6 +758,9 @@ The current widgets exist in \fBrofi\fR:
.
.IP "" 0
.
.P
Note that these paths names match the default theme\. Themes that provide a custom layout will have different element paths\.
.
.SH "State"
State: State of widget
.
@ -901,11 +904,26 @@ The following properties are currently supports:
\fBforeground\fR: color
.
.IP "\(bu" 4
\fBfont\fR: The font used by this textbox\. (string)
.
.IP "\(bu" 4
\fBstr\fR: The string to display by this textbox\. (string)
.
.IP "\(bu" 4
\fBvertical\-align\fR: Vertical alignment of the text\. (0 top, 1 bottom)
.
.IP "\(bu" 4
\fBhorizontal\-align\fR: Horizontal alignment of the text\. (0 left, 1 right)
.
.IP "\(bu" 4
\fBtext\fR: The text color to use (falls back to foreground if not set)
.
.IP "\(bu" 4
\fBhighlight\fR: Text Style {color} Color is optional, multiple highlight styles can be added like: bold underline italic #000000;
.
.IP "\(bu" 4
\fBwidth\fR: Override the desired width for the textbox\.
.
.IP "" 0
.
.SS "listview:"

View file

@ -445,6 +445,9 @@ The current widgets exist in **rofi**:
* `#window.mainbox.message.textbox`: The message textbox.
* `#window.mainbox.message.box`: The box containing the message.
Note that these paths names match the default theme. Themes that provide a custom layout will have different
element paths.
## State
@ -557,11 +560,16 @@ The following properties are currently supports:
### textbox:
* **background**: color
* **foreground**: color
* **text**: The text color to use (falls back to foreground if not set)
* **highlight**: Text Style {color}
* **background**: color
* **foreground**: color
* **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**: The text color to use (falls back to foreground if not set)
* **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.
### listview:
* **columns**: integer