Commit 26368141 authored by Daniel Dreibrodt's avatar Daniel Dreibrodt

ProgressWindow centering fix

parent ed62314f
......@@ -43,7 +43,7 @@ public class ProgressWindow extends JDialog{
setLayout(new BorderLayout());
pbar = new JProgressBar();
if(p_ != null && p_.isVisible()) setBounds(p_.getX()+p_.getWidth()/2,p_.getY()+p_.getHeight()/2,300,50);
if(p_ != null && p_.isVisible()) setBounds(p_.getX()+p_.getWidth()/2-150,p_.getY()+p_.getHeight()/2-25,300,50);
else setSize(300,50);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment