mirror of https://gitlab.com/basile.b/dexed.git
fix #309 - Coedit hangs when window is maximized and then dragged
This commit is contained in:
parent
4a24efc0bb
commit
d9dd7ad6fa
|
@ -1472,6 +1472,7 @@ object CEMainForm: TCEMainForm
|
|||
OnResize = FormResize
|
||||
OnWindowStateChange = FormWindowStateChange
|
||||
ShowHint = True
|
||||
LCLVersion = '1.8.2.0'
|
||||
Visible = False
|
||||
object mainMenu: TMainMenu
|
||||
top = 1
|
||||
|
|
|
@ -1195,6 +1195,11 @@ end;
|
|||
constructor TCEMainForm.create(aOwner: TComponent);
|
||||
begin
|
||||
inherited create(aOwner);
|
||||
|
||||
// provide defaults, necessary because not handled by docking.xml
|
||||
width := (Screen.Width div 3) * 2;
|
||||
height := (Screen.Height div 3) * 2;
|
||||
|
||||
fOptionCategories := TCEEditableOptionsSubject.create;
|
||||
|
||||
EntitiesConnector.addObserver(self);
|
||||
|
|
Loading…
Reference in New Issue