Fork me on GitHub

Announcement

The oneye project has been discontinued. You might not expect further fixes and support from us. All community related systems are set to read-only mode. Though feel free to download and use oneye as-is or even fork it over at GitHub.

#1 2014-01-13 19:24:57

sazearte
Member
From: France
Registered: 2013-10-23
Posts: 234

Window to 100% height

Hello

What should you change it in the file app.eyecode for the height of a window is 100%?
thank you in advance

Offline

#2 2014-01-13 23:05:56

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Window to 100% height

Do you want to maximize the window (Setting width and height to 100%) or do you really just want to set the height to 100%?

Doing the first is as easy as setting the windows' "max" property to "1" or adding "MAX" to the "style" property. The latter can be done using "$_SESSION['SCREEN']['eyeApps']['height']" for the window's height.


Best regards,
Lars Knickrehm

The oneye project.

Offline

#3 2014-01-14 19:58:17

sazearte
Member
From: France
Registered: 2013-10-23
Posts: 234

Re: Window to 100% height

I just want to put the height to 100%

Offline

#4 2014-01-14 20:09:53

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Window to 100% height

So just use $_SESSION['SCREEN']['eyeApps']['height'] for the window's height.


Best regards,
Lars Knickrehm

The oneye project.

Offline

#5 2014-01-15 15:09:53

sazearte
Member
From: France
Registered: 2013-10-23
Posts: 234

Re: Window to 100% height

What doije put this file?
eyeapps or events.eyecode
And where ?

Thank you for helping me

Offline

#6 2014-01-15 15:24:45

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: Window to 100% height

There should be something like "new Window(array(... insert here ...));".


Best regards,
Lars Knickrehm

The oneye project.

Offline

Board footer

Powered by FluxBB