We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d4a0ab commit 8b9cc75Copy full SHA for 8b9cc75
src/org/quinto/swing/table/view/JBroTable.java
@@ -628,6 +628,8 @@ public void columnMarginChanged( ChangeEvent e ) {
628
int newW = column.getPreferredWidth();
629
size.width += newW - oldW;
630
setPreferredSize( size );
631
+ if ( getParent() instanceof JViewport )
632
+ ( ( JViewport )getParent() ).setViewSize( size );
633
if ( parent != null ) {
634
JScrollPane scrollPane = ( JScrollPane )parent;
635
scrollPane.getHorizontalScrollBar().getModel().setMaximum( size.width );
0 commit comments