diff options
author | Dave Davenport <qball@blame.services> | 2021-10-12 10:34:47 +0200 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2021-10-12 10:34:47 +0200 |
commit | e3860c89e8173fe0139b8bec94607e49e6b64a4d (patch) | |
tree | 6db63857531819c728e82d5c92bf2739fcce0206 /doc/rofi-theme.5.markdown | |
parent | 6ec5bfba64b48dbeb1ff536948274338d19c7810 (diff) |
[FileBrowser] Reduce number of re-allocs.
Diffstat (limited to 'doc/rofi-theme.5.markdown')
-rw-r--r-- | doc/rofi-theme.5.markdown | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown index 0d9ed91c..f1822449 100644 --- a/doc/rofi-theme.5.markdown +++ b/doc/rofi-theme.5.markdown @@ -1071,15 +1071,15 @@ This property sets the distance between the packed widgets (both horizontally an More dynamic spacing can be achieved by adding dummy widgets, for example to make one widget centered: ``` -|--------------------------------------------| -| |-----------| |--------| |-----------| | -| | dummy | | child | | dummy | | -| | expand: y | | | | expand: y | | -| | | | | | | | -| | | | | | | | -| | | | | | | | -| |-----------| |--------| |-----------| | -|--------------------------------------------| +|----------------------------------------------------| +| |---------------| |--------| |---------------| | +| | dummy | | child | | dummy | | +| | expand: true; | | | | expand: true; | | +| | | | | | | | +| | | | | | | | +| | | | | | | | +| |---------------| |--------| |---------------| | +|----------------------------------------------------| ``` If both dummy widgets are set to expand, `child` will be centered. Depending on the `expand` flag of child the |