Changeset 4d2a4cd in mainline


Ignore:
Timestamp:
2021-04-09T22:41:22Z (3 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7727cfd
Parents:
f0ccb2a
git-author:
Jiri Svoboda <jiri@…> (2021-04-04 09:08:53)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-04-09 22:41:22)
Message:

Correct menu entry height

Fixes menu entry not being clickable in text mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/menuentry.c

    rf0ccb2a r4d2a4cd  
    195195
    196196        gfx_font_get_metrics(res->font, &metrics);
    197         height = metrics.ascent + metrics.descent;
     197        height = metrics.ascent + metrics.descent + 1;
    198198        return height + 2 * vpad;
    199199}
Note: See TracChangeset for help on using the changeset viewer.