Option \"FitToModule\" for scale doesn\'t work correctly
- kusey
- Posts:15
- Joined: Wed May 04, 2011 3:27 pm
Option \"FitToModule\" for scale doesn\'t work correctly
If panel has a resolution greater than the screen resolution, for example, i try to open panel with resolution 1920x1280 on screen 1366x768 and option visionResizeMode = "FitToModule", panel doesn't scale and scrollbars appear.
- RudiKreiner
- Posts:198
- Joined: Mon May 16, 2011 2:10 pm
Re: Option \"FitToModule\" for scale doesn\'t work correctly
We use this entry in the UI's local config file on PCs whose screen resolution is lower then the panel size.
You can change the number as required, of course.
[ui]
initialZoomFactor = 0.80
Maybe that will help you
You can change the number as required, of course.
[ui]
initialZoomFactor = 0.80
Maybe that will help you
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Option \"FitToModule\" for scale doesn\'t work correctly
Yes, that's intentional.
AFAIR the idea was to not get a too small (scaled down) panel when it was opened on a different screen with smaller resolution.
The comment in the code says:
// don't resize panel if it is already larger than the desktop -
// even when we are in scale mode
AFAIR the idea was to not get a too small (scaled down) panel when it was opened on a different screen with smaller resolution.
The comment in the code says:
// don't resize panel if it is already larger than the desktop -
// even when we are in scale mode
- kusey
- Posts:15
- Joined: Wed May 04, 2011 3:27 pm
Re: Option \"FitToModule\" for scale doesn\'t work correctly
Rudi Kreiner, Tnx, this is really one of the good way to solve the problem.
Martin Koller, If the panel is very small, the user can use zoom, but most importantly, I didn't find in the documentation WinCC OA a description of the that behavior for function SetStyleScale().
Martin Koller, If the panel is very small, the user can use zoom, but most importantly, I didn't find in the documentation WinCC OA a description of the that behavior for function SetStyleScale().