Skip to content

Commit

Permalink
Fix number column alignment (#2072)
Browse files Browse the repository at this point in the history
* fix number column alignment
* fix issues
  • Loading branch information
chriba authored and Siedlerchr committed Sep 26, 2016
1 parent e4dec24 commit 81a87ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
### Changed
- Add session restoring functionality for shared database. Related to [#1703](https://github.com/JabRef/jabref/issues/1703)
- Implementation of LiveUpdate for PostgreSQL & Oracle systems. Related to [#970](https://github.com/JabRef/jabref/issues/970).
- [koppor#31](https://github.com/koppor/jabref/issues/31): Number column in the main table is always Left aligned
- Added support for [1.0.1 CitationStyles](http://citationstyles.org/)
- You can set and cycle between different preview styles (including CitationStyles)
- Added fetcher for [MathSciNet](http://www.ams.org/mathscinet), [zbMATH](https://www.zbmath.org/) and [Astrophysics Data System](http://www.adsabs.harvard.edu/)
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/net/sf/jabref/gui/maintable/MainTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import javax.swing.ActionMap;
import javax.swing.BorderFactory;
import javax.swing.InputMap;
import javax.swing.JLabel;
import javax.swing.JScrollBar;
import javax.swing.JScrollPane;
import javax.swing.JTable;
Expand Down Expand Up @@ -294,7 +293,6 @@ else if (column == 0) {
MainTable.incRenderer.setNumber(row);
renderer = MainTable.incRenderer;
}
renderer.setHorizontalAlignment(JLabel.CENTER);
} else if (tableColorCodes || tableResolvedColorCodes) {
CellRendererMode status = getCellStatus(row, column, tableResolvedColorCodes);
if (status == CellRendererMode.REQUIRED) {
Expand Down

0 comments on commit 81a87ad

Please sign in to comment.