Доделал восстановление позиции разделителя при распахивании области.
This commit is contained in:
@@ -304,6 +304,7 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
}
|
||||
@Override
|
||||
public void CollapseCredentials() {
|
||||
Global.db.splitters.get("SC71").position = SC71.getDividerLocation();
|
||||
UI.Clear(credentialsPanel);
|
||||
credentialsPanel.add(UI.credentialsBar);
|
||||
SC71.setDividerLocation(30);
|
||||
@@ -315,7 +316,7 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
public void ExpandCredentials() {
|
||||
UI.Clear(credentialsPanel);
|
||||
credentialsPanel.add(SC18);
|
||||
SC71.setDividerLocation(200);
|
||||
SC71.setDividerLocation(Global.db.splitters.get("SC71").position);
|
||||
SC71.setDividerSize(3);
|
||||
credentialsPanel.revalidate();
|
||||
credentialsPanel.repaint();
|
||||
|
||||
Reference in New Issue
Block a user