Changeset 795c6f7 in mainline
- Timestamp:
- 2022-12-01T14:44:00Z (2 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/pbutton.c
rc4a53280 r795c6f7 450 450 fmt.abbreviate = true; 451 451 fmt.width = rect.p1.x - rect.p0.x - 2 * ui_pb_pad_x_text; 452 if (fmt.width < 1) 453 fmt.width = 1; 452 454 453 455 rc = gfx_puttext(&pos, &fmt, pbutton->caption);
Note:
See TracChangeset
for help on using the changeset viewer.