+ and − button should be consistant across the software

Description

It's a bit nitpicking but the + and − button on the resume tab that are near the XP are not the same size/look that the other ones (add language, add level, remove level, inventory / add/remove funds).

Environment

None

Activity

Show:
James Dempsey
September 4, 2012, 1:45 AM

All the areas listed refer to the same icons, and use the same code to determine icon size, The buttons may vary in size depending on layout requirements. That's working as intended.

Vincent Hatakeyama
September 4, 2012, 5:51 AM

Index: code/src/java/pcgen/gui2/tabs/SummaryInfoTab.java
===================================================================
— code/src/java/pcgen/gui2/tabs/SummaryInfoTab.java (révision 17115)
+++ code/src/java/pcgen/gui2/tabs/SummaryInfoTab.java (copie de travail)
@@ -456,8 +456,10 @@
rightPanel.add(expmodLabel, gbc);
{
GridBagConstraints gbc2 = new GridBagConstraints();
- gbc2.fill = GridBagConstraints.HORIZONTAL;
+ //
gbc2.weightx = 1.0;
+ expmodPanel.add(new JPanel(), gbc2);
+ gbc2.weightx = 0.0;
gbc2.insets = new Insets(0, 1, 0, 1);
expmodPanel.add(expaddButton, gbc2);
expmodPanel.add(expsubtractButton, gbc2);

Assignee

Unassigned

Reporter

Vincent Hatakeyama

Labels

None

Theme

New User Interface

Epic/Theme

None

Pending User Input

None

Components

Priority

Trivial
Configure