# Method Editor window behavior

**URL:** <https://forum.servoy.com/t/method-editor-window-behavior/1612>\
**Category:** Classic Servoy\
**Created:** [April 1, 2004, 7:44am UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612 "2004-04-01T07:44:16Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [April 1, 2004, 7:44am UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/1 "2004-04-01T07:44:16Z")

</div>

When I resize the Method Editor window, all the different panes jump to a default position.

I resize them to my liking…

Then when I close the method editor, it’s back to it’s default size and when I resize (to maximum screen), all the panes are in there default position.

Would it be possible that the method editor remembers it’s size and positions of the different panes?

Paul

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [April 2, 2004, 8:51pm UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/2 "2004-04-02T20:51:59Z")

</div>

i can’t reproduce this.  
Every size and position is remembered fine

also with a resize the panes don’t go to the default positions but are trying to keep the same distances in % (so if pane x had 60% and y 40% then it tries to keep that that way)

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [April 7, 2004, 8:01pm UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/3 "2004-04-07T20:01:06Z")

</div>

Johan,

it’s two separate things: If you Open, resize, Close and open the Method Editor, whiel not shutting down Developer in between, yes, the settings are remembered. I’m talking more about remembering the settings when shutting down Developer.

Currently, once you (re)start Developer, the method editor goes to it’s default size and pane settings (at least on mu compu… ![:(]( "Sad") )

The second thing you say, about the %-wise resizing: To me it doesn’t work neatly. If I make the method editor full screen and put the vertical panesplitter on about 1/3 of the screen, then bring back the entire method editor to it’s default size, the vertical splitter is not on 1/3 of the method editor window anymore…

Paul

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [April 8, 2004, 10:58pm UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/4 "2004-04-08T22:58:12Z")

</div>

works fine on my system

i have restarted developer now about 4 times. Everytime different method editor layout and sizes. After every restart it restored it exactly the way i left it..

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [June 16, 2004, 3:04pm UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/5 "2004-06-16T15:04:14Z")

</div>

Johan,

I’ve now got fresh installations of Servoy 2.03 and 2.1Beta3 on my machine (Win XP).

I start Developer, open the Servoy Editor, resize the different panes, close the Editor with the X-button in the top right corner, close Servoy Developer, Restart Developer, open the Servoy Editor again and all panes are back to it’s default settings… So, it seems there is still a problem.

Also, when you enlarge the entire Editor window (make it full screen if it wasn’t full screen before), the different panes do not stay in the same position relatively. If the vertical split was at 20% from the left, after resizing, it might be 40 or more percent.

Is there no-one else experiencing this?

Paul

 ![Oracle Config.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/2/264a1c0dcb96a19139487298f71e7654e6d12c8b.png)

---

<div class="post-metadata">

**Author:** ![stephan](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@stephan](https://forum.servoy.com/u/stephan)\
**Post date:** [June 16, 2004, 5:05pm UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/6 "2004-06-16T17:05:41Z")

</div>

I have the same problem.

I open Developer, open crm solution, maximize the window, open the method editor with shorcut control-shift-m, resize the editor, close it, save solution, close developer.

Then when I restart the defaults are back. It never happened otherwise.

Version R2 2.0.3-build 276  
j2sdk1.4.2\_03  
W2K

---

<div class="post-metadata">

**Author:** ![Riccardino](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Riccardino](https://forum.servoy.com/u/Riccardino)\
**Post date:** [June 16, 2004, 6:28pm UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/7 "2004-06-16T18:28:47Z")

</div>

> stephan:  
> I have the same problem.
> 
> I open Developer, open crm solution, maximize the window, open the method editor with shorcut control-shift-m, resize the editor, close it, save solution, close developer.
> 
> Then when I restart the defaults are back. It never happened otherwise.
> 
> Version R2 2.0.3-build 276  
> j2sdk1.4.2\_03  
> W2K

Me too (OSX.3.4, Servoy 2.0.3)

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [June 16, 2004, 6:59pm UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/8 "2004-06-16T18:59:10Z")

</div>

i can’t reproduce this It always works in my setup (winxp with jdk1.4.2\_04) and servoy 2.0.3

first can you guys test it if you first close the solution and then quite the app?

second can you look at the servoy.properties file and do these values change (and change right if you sort of look at the sizes)

debug.hor.split=208  
debug.ver.split=237  
rect\_debugwindow\_bounds=363,299,1097,778

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [June 16, 2004, 9:40pm UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/9 "2004-06-16T21:40:52Z")

</div>

no problems here!  
works like a charm (always!)

Windows XP 2.1beta2 java 1.4.2\_03

---

<div class="post-metadata">

**Author:** ![stephan](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@stephan](https://forum.servoy.com/u/stephan)\
**Post date:** [June 17, 2004, 5:55am UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/10 "2004-06-17T05:55:41Z")

</div>

I tried to close the solution before closing Developer but it did nothing.  
Looking at the variables I’ve seen that the first 2 change but not the last one.

Before:  
debug.hor.split=703  
debug.ver.split=196  
rect\_debugwindow\_bounds=340,266,800,600

After maximizing the size of the debug window to 1280\*1024:  
debug.hor.split=684  
debug.ver.split=207  
rect\_debugwindow\_bounds=340,266,800,600

I guess it’s because rect\_debugwindow\_bounds is not updated that the debug window never opens full screen but at 800\*600.

 ![Forum0004.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/9/95f1c3970ecdaffbde3b1d391a6d12cd62f83375.png)

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [June 17, 2004, 8:15am UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/11 "2004-06-17T08:15:11Z")

</div>

ahh you maximize the debugger window. That wasn’t mentioned.  
I never do that so didn’t see that.

I fixed it now that the state (maximized or minimized) is remembered.

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [June 17, 2004, 9:25am UTC](https://forum.servoy.com/t/method-editor-window-behavior/1612/12 "2004-06-17T09:25:58Z")

</div>

Good news, tnx Johan!

Paul

[qrgen.zip](https://forum.servoy.com/uploads/short-url/jwZZJRRuumE63vY9hPXL0DEn0mv.zip) (526 KB)
