Доделал восстановление позиции разделителя при распахивании области.
This commit is contained in:
@@ -368,11 +368,9 @@ public class FileForm implements FileWindow, FormWithSplitters {
|
||||
//--
|
||||
@Override
|
||||
public void CollapseGraphs() {
|
||||
Global.db.splitters.get("SC12").position = SC12.getDividerLocation();
|
||||
UI.Clear(editorBackground);
|
||||
editorBackground.add(editorPanel);
|
||||
content.updateUI();
|
||||
SC1.updateUI();
|
||||
SC12.updateUI();
|
||||
}
|
||||
@Override
|
||||
public void ExpandGraphs() {
|
||||
@@ -381,19 +379,13 @@ public class FileForm implements FileWindow, FormWithSplitters {
|
||||
editorBackground.add(SC12);
|
||||
//--
|
||||
SC12.setDividerLocation(Global.db.splitters.get("SC12").position);
|
||||
//--
|
||||
content.updateUI();
|
||||
SC1.updateUI();
|
||||
SC12.updateUI();
|
||||
}
|
||||
@Override
|
||||
public void CollapseMessages() {
|
||||
Global.db.splitters.get("SC1").position = SC1.getDividerLocation();
|
||||
UI.Clear(content);
|
||||
content.add(editorBackground);
|
||||
//--
|
||||
content.updateUI();
|
||||
SC1.updateUI();
|
||||
SC12.updateUI();
|
||||
}
|
||||
@Override
|
||||
public void ExpandMessages() {
|
||||
@@ -401,9 +393,6 @@ public class FileForm implements FileWindow, FormWithSplitters {
|
||||
SC1.setLeftComponent(editorBackground);
|
||||
content.add(SC1);
|
||||
SC1.setDividerLocation(Global.db.splitters.get("SC1").position);
|
||||
//--
|
||||
content.updateUI();
|
||||
SC1.updateUI();
|
||||
SC12.updateUI();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user