forked from External/mage
GUI: reworked battlefield panels to use layouts and dynamic settings (no needs in NetBeans to modify it, no needs in size calculations, improved positions and sizes, deleted outdated code);
This commit is contained in:
parent
546fc1ed9a
commit
f105828e1c
9 changed files with 98 additions and 728 deletions
|
|
@ -1579,12 +1579,13 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
|||
public void setConnectButtonText(String status) {
|
||||
this.btnConnect.setText(status);
|
||||
|
||||
// Needed to layout the tooltbar after text length change
|
||||
// Needed to layout the toolbar after text length change
|
||||
// TODO: need research, is it actual?
|
||||
GUISizeHelper.refreshGUIAndCards(false);
|
||||
//GUISizeHelper.refreshGUIAndCards(false);
|
||||
|
||||
this.btnConnect.repaint();
|
||||
this.btnConnect.revalidate();
|
||||
this.btnConnect.invalidate();
|
||||
//this.btnConnect.repaint();
|
||||
//this.btnConnect.revalidate();
|
||||
}
|
||||
|
||||
public static MageUI getUI() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue