Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Window Position  (Read 13795 times)
Gary C.
Posts: 109


« on: May 06, 2011, 09:34:17 pm »

Hi

I have attached two screenshots of the initial login screen presented to our users, one using Linux and one Windows 7 (both pointing to the same GAS server).

As you can see the Linux version is centered as desired but on Windows it is positioned very low making it unusable.

Here is the style that is applied:


  <Style name='Window.login'>
    <StyleAttribute name='defaultStatusBar'      value='0'/>
    <StyleAttribute name='windowType'             value='modal' />
    <StyleAttribute name='sizable'                      value='no' />
    <StyleAttribute name='forceDefaultSettings' value='1' />
    <StyleAttribute name='position'                     value='center' />
    <StyleAttribute name='border'                       value='none' />
    <StyleAttribute name='actionPanelPosition'   value='none' />
    <StyleAttribute name='showDefaultActions'   value='none'/>
    <StyleAttribute name='ringMenuPosition'       value='none' />
    <StyleAttribute name='startMenuPosition'      value='none' />
    <StyleAttribute name='toolBarPosition'          value='none'/>
    <StyleAttribute name='statusBarType'           value='none'/>
    <StyleAttribute name="backgroundColor"      value="white"/>
  </Style>

Can anyone suggest what I may be doing wrong or how to get the form centered on both operating systems.

Thanks

Gary


* windows7.jpg (45.96 KB, 875x492 - viewed 2472 times.)

* linux.jpg (54.31 KB, 875x492 - viewed 2456 times.)
.
Four Js
Posts: 115


« Reply #1 on: May 06, 2011, 10:47:49 pm »

Hi Gary,

As this is more a support issue, I would recommend to contact your support center and give them all the details (ideally: exact version of GDC, FGL, GAS + a GDC log or a small application that reproduces the issue).
Please also give them your screen resolution.

You may also try without / clearing stored settings: for historical reasons, "center" is overwritten by stored settings, so if you moved the login window once, the position will be remembered. You may try "center2" value for position: it moves the window in the center of the previous one (you may need a refresh in between) without looking at the settings.


With all the details your support center should find what's going wrong.
Regards,
Pierre-Nicolas
Reuben B.
Four Js
Posts: 1116


« Reply #2 on: May 09, 2011, 11:56:01 pm »

Out of curiousity, is this a customized login box https://4js.com/online_documentation/fjs-gdc-manual-html/User/CustLogin.html, or a 4gl OPEN WINDOW, INPUT BY NAME login, password?

Also with regards to stored settings, I always recommend that developers disable stored settings on their GDC, and that your QA testers clear the stored settings each time before starting a test run.  That way the position and width attributes of the window/forms you see when you are developing will be as the user sees them the first time they run the application. 

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Gary C.
Posts: 109


« Reply #3 on: May 10, 2011, 08:50:39 am »

Hi

It is the later, i.e. a 4gl/per INPUT BY NAME solution.

Following Pierre's advice I logged a support call. Neil was able to reproduce the issue and very quickly provided me with a very satisfactory workaround.

Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines