]> git.mdlowis.com Git - proto/labwc.git/commit
font: remove 4px padding on the right
authortokyo4j <hrak1529@gmail.com>
Sun, 21 Sep 2025 11:40:49 +0000 (20:40 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 22 Sep 2025 17:23:33 +0000 (18:23 +0100)
commitebce406b11c94f5eb3c79f54f0128bfd17901a18
treeaa42a17eff02619e940c4e3c7c386877326f58ce
parent141f932efa5b4b8c6068ca1e72512a9b542edcbb
font: remove 4px padding on the right

Added `menu.items.padding.x` padding between item text and arrow instead.

Replaced `if (!string)` with `if (string_null_or_empty(string))` in
`font_extents()` just as a minor optimization.
src/common/font.c
src/menu/menu.c
src/ssd/resize-indicator.c