The kiosk is displayed in a window of a given size. The settings are made in the browser.cfg file (in the root directory).
"CEF": { "position": {

"top" – coordinate along the Y axis, calculated from the top edge down, in pixels;
"left" – coordinate along the X-axis, calculated from the left edge to the right, in pixels;
"width" – window width, in pixels;
"height" – window height in pixels.

For full-screen display, the "width" and "height" dimensions must match the resolution of the screen used for the kiosk. For example, with a screen resolution of 1080 *1920 (Screen Settings/Display/Scale and Layout/Screen Resolution), you need to use "width": 1080 and "height": 1920.
To ensure that elements are displayed correctly (fit completely into the window) at low resolutions, there are parameters for scaling content and defining the "ScalingFactor":

"zoom" – display scale of elements.

The lower the resolution, the smaller the zoom should be. At a low resolution, but with a high zoom, one button will take up half the screen.

The logging level of the internal browser (cef) is determined by the "logLevel" parameter. The logging levels are as follows:

0 – DEFAULT
1 – VERBOSE
2 – INFO
3 – WARNING
4 – ERROR
5 – DISABLE.

Example of a setting to determine the window size, scale and logging level:

  • No labels