increased dialog width
This commit is contained in:
parent
04c18fe95e
commit
6f221c681c
|
@ -2,6 +2,7 @@ package me.teridax.jcash.gui.deposit;
|
|||
|
||||
import me.teridax.jcash.Logging;
|
||||
import me.teridax.jcash.decode.StringDecoder;
|
||||
import me.teridax.jcash.gui.IconProvider;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
@ -23,9 +24,11 @@ public class DepositView {
|
|||
}
|
||||
|
||||
public void showDialog() {
|
||||
dialog.setIconImage(IconProvider.getWindowIcon());
|
||||
dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL);
|
||||
dialog.setTitle(translate("Deposit money"));
|
||||
dialog.pack();
|
||||
dialog.setSize(dialog.getWidth() * 2, dialog.getHeight());
|
||||
dialog.setResizable(false);
|
||||
dialog.setLocationRelativeTo(null);
|
||||
dialog.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package me.teridax.jcash.gui.takeoff;
|
||||
|
||||
import me.teridax.jcash.decode.StringDecoder;
|
||||
import me.teridax.jcash.gui.IconProvider;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
@ -24,9 +25,11 @@ public class TakeoffView {
|
|||
}
|
||||
|
||||
public void showDialog() {
|
||||
dialog.setIconImage(IconProvider.getWindowIcon());
|
||||
dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL);
|
||||
dialog.setTitle(translate("Takeoff money"));
|
||||
dialog.pack();
|
||||
dialog.setSize(dialog.getWidth() * 2, dialog.getHeight());
|
||||
dialog.setResizable(false);
|
||||
dialog.setLocationRelativeTo(null);
|
||||
dialog.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||
|
|
|
@ -2,6 +2,7 @@ package me.teridax.jcash.gui.transfer;
|
|||
|
||||
import me.teridax.jcash.Logging;
|
||||
import me.teridax.jcash.decode.StringDecoder;
|
||||
import me.teridax.jcash.gui.IconProvider;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
@ -25,6 +26,7 @@ public class TransferView {
|
|||
}
|
||||
|
||||
public void showDialog() {
|
||||
dialog.setIconImage(IconProvider.getWindowIcon());
|
||||
dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL);
|
||||
dialog.setTitle(translate("Transfer money"));
|
||||
dialog.pack();
|
||||
|
|
Loading…
Reference in New Issue