Changeset b8b64a8 in mainline for uspace/lib/ui/src/menu.c


Ignore:
Timestamp:
2021-04-12T15:52:12Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6186f9f
Parents:
d65accb
Message:

Add column with keyboard shortcuts to menu

File:
1 edited

Legend:

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

    rd65accb rb8b64a8  
    175175        }
    176176
    177         edim.x = menu->max_w;
     177        edim.x = ui_menu_entry_calc_width(menu, menu->max_caption_w,
     178            menu->max_shortcut_w);
    178179        edim.y = menu->total_h;
    179180
Note: See TracChangeset for help on using the changeset viewer.