Skip to content
Snippets Groups Projects
Commit 24e2c415 authored by tcarver's avatar tcarver
Browse files

ValidateViewer should be smaller

parent d9921e9d
Branches
Tags
No related merge requests found
......@@ -243,6 +243,11 @@ public class FileViewer extends JFrame
saved_size.height = 50;
setLocation(saved_position);
if(this instanceof ValidateViewer)
scroller.setPreferredSize(new Dimension((int)screen.getWidth()/3,
(int)screen.getHeight()/3));
else
scroller.setPreferredSize(saved_size);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment