mirror of https://github.com/M66B/FairEmail.git
Less space for menu icons
This commit is contained in:
parent
94512a1d39
commit
7efed124c4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue