mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
IJPL-165423 SECONDARY_ICON attribute does not work for action UI in a popup menu
- adjust indents for secondary icon (cherry picked from commit 94000e91e802e62864326f964aa44d290c320486) IJ-CR-147964 GitOrigin-RevId: 75b7c3f5712ff702c3f3d2b1c921390f052fe6a1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0fe21b6057
commit
6b85c6fa99
@@ -137,7 +137,7 @@ public class PopupListElementRenderer<E> extends GroupedItemsListRenderer<E> {
|
||||
secondary.add(mySecondaryTextLabel, BorderLayout.EAST);
|
||||
|
||||
mySecondaryIconLabel = new JLabel();
|
||||
JBEmptyBorder secondaryIconBorder = JBUI.Borders.emptyLeft(JBUI.CurrentTheme.ActionsList.elementIconGap() - 2);
|
||||
JBEmptyBorder secondaryIconBorder = JBUI.Borders.emptyLeft(JBUI.CurrentTheme.ActionsList.elementIconGap() + 1);
|
||||
mySecondaryIconLabel.setBorder(secondaryIconBorder);
|
||||
mySecondaryIconLabel.setVisible(false);
|
||||
secondary.add(mySecondaryIconLabel, BorderLayout.WEST);
|
||||
|
||||
Reference in New Issue
Block a user