|
From: Peter De B. (JIRA) <no...@at...> - 2007-12-10 21:51:18
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter De Bruycker resolved RCP-256.
-----------------------------------
Assignee: Peter De Bruycker (was: Oliver Hutchison)
Resolution: Fixed
> GridBagLayoutBuilder leaves extra space if last component in a row stretches more than one column.
> --------------------------------------------------------------------------------------------------
>
> Key: RCP-256
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-256
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Reporter: Arne Limburg
> Assignee: Peter De Bruycker
>
> GridBagLayoutBuilder leaves extra space if last component in a row stretches more than one column. This means, that the right borders of the rightmost components are not the same in every row. This bug could be fixed, by changing row 671 and 675 of GridBagLayoutBuilder:
> current CVS version:
> 671 if (currentRowIndex == lastRowIndex) {
> 672 formatLastRow(gbc);
> 673 }
> 674
> 675 if (currentColIndex == lastColIndex) {
> 676 formatLastColumn(gbc, currentColIndex);
> 677 }
> bugfix:
> 671 if (gbc.gridy + gbc.gridheight - 1 == lastRowIndex) {
> 672 formatLastRow(gbc);
> 673 }
> 674
> 675 if (gbc.gridx + gbc.gridwidth - 1 == lastColIndex) {
> 676 formatLastColumn(gbc, currentColIndex);
> 677 }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|