Hello Chaitra,
typically, the ScreenSize that is defined within a UI project corresponds to the phyisical size of the display.
Within the main.c file you will find the initialization of the viewport:
viewport = EwInitViewport( EwScreenSize, EwNewRect( 0, 0, w, h ), 0, 255,
&framebuffer, eglDisplay, eglSurface, ViewportProc );
The parameter w and h are queried by EGL some lines above:
eglQuerySurface( eglDisplay, eglSurface, EGL_WIDTH, &w );
eglQuerySurface( eglDisplay, eglSurface, EGL_HEIGHT, &h);
By default, the OpenGL Platform Package is prepared to scale up/down the UI (which has the size that is defined with ScreenSize) to the full display size.
You can change the initialization according your needs, e.g.
viewport = EwInitViewport( EwScreenSize, EwNewRect( 0, h - EwScreenSize.Y, EwScreenSize.X, h ), 0, 255,
&framebuffer, eglDisplay, eglSurface, ViewportProc );
Now the UI is not scaled.
Best regards,
Manfred.