Actually it does work
// Project: EditTextJustify
// Created: 2019-04-08
// show all errors
SetErrorMode(2)
// set window properties
SetWindowTitle( "EditTextJustify" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
// set display properties
SetVirtualResolution( 1024, 768 ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
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
eb = CreateEditBox()
SetEditBoxPosition(eb,100,100)
SetEditBoxSize(eb,100,20)
do
if GetEditBoxChanged(eb)= 1
SetEditBoxCursorPosition(eb,0)
endif
Print( ScreenFPS() )
Sync()
loop
The example program above allows you to type in some text then after pressing return the text is left aligned so that you see the beginning of the text entered instead of the end. Its really quite simple.
Try typing some text which is larger then the edit box then press return and sure enough the text is left justified. It works on PC at least and on the one android device ive tried.
Are you trying to create a multiline editbix or something else??? Your problem doesnt seem to be too well described - so perhaps you want something else.