Edit hex/Edit hex pcode different label

Separator between View Graph and View Hex/Pcode buttons
This commit is contained in:
Jindra Petřík
2015-05-21 15:05:54 +02:00
parent 425ef19578
commit dfff38ace3
3 changed files with 187 additions and 182 deletions
@@ -494,7 +494,7 @@ public class ActionPanel extends JPanel implements SearchListener<ActionSearchRe
hexButton = new JToggleButton(View.getIcon("hexas16"));
hexButton.addActionListener(this::hexButtonActionPerformed);
hexButton.setToolTipText(AppStrings.translate("button.viewhex"));
hexButton.setToolTipText(AppStrings.translate("button.viewhexpcode"));
hexButton.setMargin(new Insets(3, 3, 3, 3));
hexOnlyButton = new JToggleButton(View.getIcon("hex16"));
@@ -522,6 +522,7 @@ public class ActionPanel extends JPanel implements SearchListener<ActionSearchRe
topButtonsPan = new JPanel();
topButtonsPan.setLayout(new BoxLayout(topButtonsPan, BoxLayout.X_AXIS));
topButtonsPan.add(graphButton);
topButtonsPan.add(Box.createRigidArea(new Dimension(10, 0)));
topButtonsPan.add(hexButton);
topButtonsPan.add(hexOnlyButton);
topButtonsPan.add(constantsViewButton);