diff --git a/src/puntocassa/PuntoCassa.java b/src/puntocassa/PuntoCassa.java index e12fca7..517a180 100644 --- a/src/puntocassa/PuntoCassa.java +++ b/src/puntocassa/PuntoCassa.java @@ -1512,7 +1512,7 @@ public class PuntoCassa extends JFrame implements ActionListener { w = (tw / 8); h = 60; - int part = (displayWidth - lblDB.getWidth()) / 7; + int part = (displayWidth - lblDB.getWidth()) / 8; lblUtenteLoggato.setLocation(x, y); //lblUtenteLoggato.setSize(w, h); @@ -1522,7 +1522,7 @@ public class PuntoCassa extends JFrame implements ActionListener { lblInfo.setLocation(lblUtenteLoggato.getLocation().x + lblUtenteLoggato.getSize().width, y); //lblInfo.setSize(w * 2 + 60 - lblDB.getWidth(), h); //lblInfo.setSize(296, h); - lblInfo.setSize((int)(part * 1.5), h); + lblInfo.setSize((int)(part * 2.5), h); //lblInfo2.setLocation(w * 3 + 60 - lblDB.getWidth(), y); lblInfo2.setLocation(lblInfo.getLocation().x + lblInfo.getSize().width, y); @@ -1530,7 +1530,7 @@ public class PuntoCassa extends JFrame implements ActionListener { int larg = tw - (w * 2 + 10) - 359; //lblInfo2.setSize(larg, h); //lblInfo2.setSize(444, h); - lblInfo2.setSize(part * 3, h); + lblInfo2.setSize((int)(part * 3), h); //lblStatoConnessione.setLocation(tw - 181 - lblDB.getWidth(), y); lblStatoConnessione.setLocation(lblInfo2.getLocation().x + lblInfo2.getSize().width, y);