Changeset 795c6f7 in mainline for uspace/app/taskbar/test/wndlist.c

Timestamp:
2022-12-01T14:44:00Z (18 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
29a5a99
Parents:
c4a53280
git-author:
Jiri Svoboda <jiri@…> (2022-11-30 18:43:58)
git-committer:
Jiri Svoboda <jiri@…> (2022-12-01 14:44:00)
Message:

Fix rendering of very small buttons

In text mode we have some narrow buttons (scrollbar, close button etc.)
where if we subtract shadow width and padding with we arrive at negative
width. Trying to format the text to negative width causes trouble.
While somewhat hackish, we allow at least one character to be printed
even for very small buttons.

This fixes e.g. Navigator not starting.

(No files)

Note: See TracChangeset for help on using the changeset viewer.