Client Launch never centered...

Questions, answers, tips and ideas on Servoy Client

Client Launch never centered...

Postby Providence1 » Thu Dec 23, 2004 2:49 am

Whenever a client launches Servoy they always have to drag the Servoy screen to center it properly on the page. This only happens to PC users and Mac's a perfect in every way.

Any ideas on how I can fix this for my PC bretheren?

Don't say properties on the Servoy Client icon and select Maximized. It doesn't work!

Thanks!
Providence
Providence1
 
Posts: 456
Joined: Tue Aug 17, 2004 2:36 am
Location: New York, NY

Postby maarten » Thu Dec 23, 2004 11:26 am

did you try experimenting with next methods in a startup script?
application.getWindowHeight()
application.getWindowWidth()
application.setWindowLocation(number x, number y)
application.setWindowSize(number w, number h)
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands

Postby jcompagner » Fri Dec 24, 2004 10:47 pm

The x,y and w,h are all stored and set to the size they where last at.
Only if you change those youreself in the solution it get's screwed up everytime the start the solution..
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby Providence1 » Fri Jan 07, 2005 7:59 pm

Can I reset those by hand in servoy.properties on the server?
Providence
Providence1
 
Posts: 456
Joined: Tue Aug 17, 2004 2:36 am
Location: New York, NY

Postby jcompagner » Sun Jan 09, 2005 12:02 am

not on the server.
They are stored in the home dir of the users (.servoy dir) in the file servoy_client.properties.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby Providence1 » Wed Jan 12, 2005 1:49 am

Which line of code is it? I don't see it here, unless it's the first one or last one!

frame.state=0
lastSolution=JANUS_et_Cie
lnf.theme=
rect_LoginDialog_Login_bounds=426,351,308,188
rect_SelectSolutionDialog_bounds=436,339,287,212
toolbar.edit=true
toolbar.text=true
usedRMIRegistryPort=1099
window_state_Application_frame=0
Providence
Providence1
 
Posts: 456
Joined: Tue Aug 17, 2004 2:36 am
Location: New York, NY

Postby jcompagner » Thu Jan 13, 2005 6:14 pm

no it should be called:

rect_Application_frame_bounds=276,191,1191,925

if you delete the file then it should be centered on the screen perfectly fine.. Because then everything is default.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 6 guests

cron