mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-10 15:44:41 -05:00
[doc] Add conflicting constraint section to manpage.
This commit is contained in:
parent
ebb4459a60
commit
004f4ebd98
2 changed files with 25 additions and 6 deletions
|
@ -2136,12 +2136,22 @@ It supports the following keys as constraint:
|
||||||
.fi
|
.fi
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
.SH Conflicting constraints
|
||||||
|
.PP
|
||||||
|
It is possible to define conflicting constraints in the theme. These conflicts
|
||||||
|
are not explicitly reported. The most common example is forcing a specific
|
||||||
|
window size, for example by enabling full-screen mode, having number of lines
|
||||||
|
set in the listview and having the listview expand to available space. There is
|
||||||
|
clearly a conflict in these 3 constraints. In this case, listview will not
|
||||||
|
limit to the number of lines, but tries to fill the available space. It is up
|
||||||
|
to the theme designer to make sure the theme handles this correctly.
|
||||||
|
|
||||||
.SH Font Parsing
|
.SH Font Parsing
|
||||||
.PP
|
.PP
|
||||||
Rofi uses pango
|
Rofi uses pango
|
||||||
\[la]https://pango.gnome.org/\[ra] for font rendering. The font should be specified in a format that pango
|
\[la]https://pango.gnome.org/\[ra] for font rendering. The font should
|
||||||
understands.
|
be specified in a format that pango understands. This normally is the font name
|
||||||
This normally is the font name followed by the font size. For example:
|
followed by the font size. For example:
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
.RS
|
.RS
|
||||||
|
|
|
@ -1361,12 +1361,21 @@ It supports the following keys as constraint:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Conflicting constraints
|
||||||
|
|
||||||
|
It is possible to define conflicting constraints in the theme. These conflicts
|
||||||
|
are not explicitly reported. The most common example is forcing a specific
|
||||||
|
window size, for example by enabling full-screen mode, having number of lines
|
||||||
|
set in the listview and having the listview expand to available space. There is
|
||||||
|
clearly a conflict in these 3 constraints. In this case, listview will not
|
||||||
|
limit to the number of lines, but tries to fill the available space. It is up
|
||||||
|
to the theme designer to make sure the theme handles this correctly.
|
||||||
|
|
||||||
## Font Parsing
|
## Font Parsing
|
||||||
|
|
||||||
Rofi uses [pango](https://pango.gnome.org/) for font rendering. The font should be specified in a format that pango
|
Rofi uses [pango](https://pango.gnome.org/) for font rendering. The font should
|
||||||
understands.
|
be specified in a format that pango understands. This normally is the font name
|
||||||
This normally is the font name followed by the font size. For example:
|
followed by the font size. For example:
|
||||||
|
|
||||||
```
|
```
|
||||||
mono 18
|
mono 18
|
||||||
|
|
Loading…
Add table
Reference in a new issue