Skip to content

Commit

Permalink
version 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hotribao@gmail.com committed Jan 26, 2012
1 parent e53720a commit 28f4cfd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion painless-gridbag/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>org.painlessgridbag</groupId>
<artifactId>painless-gridbag</artifactId>
<packaging>jar</packaging>
<version>1.0.5</version>
<version>1.0.6</version>
<name>painless-gridbag</name>

<dependencies>
Expand Down
20 changes: 20 additions & 0 deletions painless-gridbag/release-notes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
26.01.2012 v1.0.6
- New features:
+ Allow customizing anchor of any label: In previous versions, the painless-gridbag controls anchor
of all labels based on the attribute alignAllLabelsToRight of the config object. From now on, if you
want to anchor a label differently from the rest (for example: NORTH), use the new method in
PainlessGridBagConfiguration: addLabelAnchor(JLabel lbl, int anchor)
- Bug fixes:
+ Issue 1 (http://code.google.com/p/painless-gridbag/issues/detail?id=1)
This issue only affects layouts that are using the following utility
LayoutUtils.addButtonPanel(gbl, leftButtons, rightButtons)
and only affects left buttons.
To workaround this issue (in previous versions) while using the above method, you may have used
the utility
LayoutUtils.addButtonPanel(gbl, buttonConfig, leftButtons, rightButtons)
and adjusting insets of the first left button.
Now, when upgrading to this version (with this fix), you are recommended to check again all places
where those 2 methods are used.
+ Issue 2 (http://code.google.com/p/painless-gridbag/issues/detail?id=2)
The original tooltip (the tooltip of the component) is now displayed inside the debug tooltip

12.12.2011 v1.0.5
- new API: fillX(weightx), fillY(weighty), fillXY(weightx, weighty)
- Fix "ArrayIndexOutOfBoundsException: 20" when there is 19 (exactly) rows defined in one PainlessGridbag
Expand Down

0 comments on commit 28f4cfd

Please sign in to comment.