Skip to content

Commit

Permalink
Improved display of column values
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf Wisser committed Dec 10, 2024
1 parent 92af5ba commit 81feeab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public int compare(Column o1, Column o2) {
jPanel2.setBackground(UIUtil.TABLE_BACKGROUND_COLOR_2);
boolean hasConstraints = false;
for (Column column: columns) {
hasConstraints = hasConstraints || !column.isNullable || column.isVirtual || column.isIdentityColumn;
hasConstraints = hasConstraints || !column.isNullable || column.isVirtual || column.isIdentityColumn;
}
rows.clear();
for (Column column: columns) {
Expand Down Expand Up @@ -349,7 +349,7 @@ public Dimension getPreferredSize() {
if (obj == null) {
label.setFont(italic);
}
label.setText(String.valueOf(obj));
label.setText(String.valueOf(obj) + " ");
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 2;
gridBagConstraints.gridy = y;
Expand Down

0 comments on commit 81feeab

Please sign in to comment.