[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Scaling of CC-Client over Code  XML
Forum Index -> Development
Author Message
struemper

Active

Joined: 25/03/2013 17:05:57
Messages: 11
Offline

I've read this:
http://www.captaincasademo.com/forum/posts/list/998.page

But we're coming back to that point. We launch the Client with a standardized scaling setting. Some users of our client would like for the CC Client to remember their personal scaling setting.

So we would need a way to save the current scaling setting for the next starts of the application.

Some users also asked for a more comfortable way to change the scaling.
Currently the user would need to click on the "settings wrench", click the scaling settings textfield, type in a new number and click okay.
4 user actions to change that on every start of the application might be a bit much (since they can't save their personal, optimal scaling setting). Would an optional scaling shortcut setting be possible in the client? Screenshot attached how it could look (missing proper labels right now).
 Filename scaling.PNG [Disk] Download
 Description
 Filesize 5 Kbytes
 Downloaded:  427 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

Hi,

you may set the scaling (and other client attributes) using the component CLIENTCONFIG, here attribute SCALE. The value you define is passed both in the size- and the font-scaling.

So you can decide on scaling from the server side, e.g. after user logon.

Regards, Björn

Björn Müller, CaptainCasa GmbH
struemper

Active

Joined: 25/03/2013 17:05:57
Messages: 11
Offline

Worked great, thanks a lot!
hilka

Power User

Joined: 23/11/2007 09:00:08
Messages: 191
Offline

Is there a way to remember the settings on client side, like having a cookie or a similar approach?
Currently we do not have "user preferences" on server side.

Tobias
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...no, there isn't... (up to now)
Regards, Björn

Björn Müller, CaptainCasa GmbH
pkuehn

Active

Joined: 13/03/2014 13:34:45
Messages: 6
Offline

Hi,

is it possible to built this saving on the client side? We need this feature for one project.

Paul
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

Hi,
we added this feature to 20140804 - the current scale is transferred as http-header-parameter "eclnt-scale". Please check the changelog for more information.
Regards, Björn

Björn Müller, CaptainCasa GmbH
pkuehn

Active

Joined: 13/03/2014 13:34:45
Messages: 6
Offline

Hi Björn,

thank you very much.

Paul
krinninger

Power User

Joined: 17/11/2008 21:19:41
Messages: 567
Offline

Hello Björn,

i just checked headers after updating to current version, but it seems that orientation header is misused for eclnt-scale.
I haven't found any eclnt-scale http-header, but orientation changes when i change scale.

kind regards,
Michael
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

Hi,
you are right... the "eclnt-scale" is not written, but "eclnt-orientation" contains the scale. Sorry!
Fix is part of next update + we provide an interim build, too.
Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team