Changeset 7a8af2f in mainline


Ignore:
Timestamp:
2021-04-04T09:08:53Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Children:
5bfeeaa
Parents:
e7b32d7
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

    re7b32d7 r7a8af2f  
    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.