Skip to content

Commit

Permalink
Tweaked button sizes (were getting truncated on Linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Luc Paour committed Sep 18, 2002
1 parent 891aba3 commit 5e22f7e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions com/gallery/GalleryRemote/PictureInspector.java
Expand Up @@ -116,19 +116,19 @@ private void jbInit()
path.setText("");
path.setLineWrap(true);

up.setMaximumSize(new Dimension( 100, 23 ) );
up.setMinimumSize( new Dimension( 100, 23 ) );
up.setPreferredSize( new Dimension( 100, 23 ) );
up.setMaximumSize(new Dimension( 120, 23 ) );
up.setMinimumSize( new Dimension( 120, 23 ) );
up.setPreferredSize( new Dimension( 120, 23 ) );
up.setText( "Move up" );
up.setActionCommand( "Up" );
down.setMaximumSize(new Dimension( 100, 23 ) );
down.setMinimumSize( new Dimension( 100, 23 ) );
down.setPreferredSize( new Dimension( 100, 23 ) );
down.setMaximumSize(new Dimension( 120, 23 ) );
down.setMinimumSize( new Dimension( 120, 23 ) );
down.setPreferredSize( new Dimension( 120, 23 ) );
down.setText( "Move down" );
down.setActionCommand( "Down" );
delete.setMaximumSize(new Dimension( 100, 23 ) );
delete.setMinimumSize(new Dimension( 100, 23 ) );
delete.setPreferredSize(new Dimension( 100, 23 ) );
delete.setMaximumSize(new Dimension( 120, 23 ) );
delete.setMinimumSize(new Dimension( 120, 23 ) );
delete.setPreferredSize(new Dimension( 120, 23 ) );
delete.setActionCommand("Delete");
delete.setText("Delete");

Expand Down

0 comments on commit 5e22f7e

Please sign in to comment.