Less space for menu icons

This commit is contained in:
M66B 2021-05-23 08:36:57 +02:00
parent 94512a1d39
commit 7efed124c4
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class PopupMenuLifecycle extends PopupMenu implements LifecycleObserver {
ImageSpan imageSpan = new ImageSpan(icon);
SpannableStringBuilder ssb = new SpannableStringBuilder(menuItem.getTitle());
ssb.insert(0, "\uFFFC\u2003");
ssb.insert(0, "\uFFFC\u2002"); // object replacement character, en space
ssb.setSpan(imageSpan, 0, 1, 0);
menuItem.setTitle(ssb);
menuItem.setIcon(null);