Hi,
Please run the code below:
// Project: test
// Created: 2019-11-15
// show all errors
SetErrorMode(2)
// set window properties
SetWindowTitle( "test" )
SetWindowSize( 1920, 1024, 0 )
// set display properties
SetDisplayAspect(1920.0/1024.0)
SetSyncRate( 30, 0 ) // 30fps instead of 60 to save battery
SetScissor( 0,0,0,0 ) // use the maximum available screen space, no black borders
UseNewDefaultFonts( 1 ) // since version 2.0.22 we can use nicer default fonts
w = 1.61458325
h = 1.95312500
eb = CreateEditBox()
SetEditBoxPosition(eb, 50.0, 50.0)
SetEditBoxSize(eb, w, h)
SetEditBoxBorderSize(eb, 0)
SetEditBoxText(eb, "0.03")
SetEditBoxFocus(eb, 1)
SetEditBoxCursorPosition(eb, 3)
do
Sync()
loop
The text of the edit box is not stable on its position.
Is this a bug, or the size of the edit box is too small?