Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / [SOLVED] EditBox not working as expected

Author
Message
marvin944
10
Years of Service
User Offline
Joined: 27th Aug 2013
Location:
Posted: 21st Dec 2019 19:42
[img]null[/img]

How can I prevent the editbox from scrolling to the left too soon? There is room enough on the right...

Also, is there a 'center' option?
Dutch

Attachments

Login to view attachments

The author of this post has marked a post as an answer.

Go to answer

Sph!nx
15
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 22nd Dec 2019 13:33
Seems to me that you have a string entered in the box with spaces as last characters. Try trimming the string and then pasting it into the editbox.
Regards Sph!nx
marvin944
10
Years of Service
User Offline
Joined: 27th Aug 2013
Location:
Posted: 22nd Dec 2019 20:03
No, not the case. The best thing I could do was setting SetEditBoxWrapMode(obj,1). This way I lost the space at the end for the most part.

Dutch

Attachments

Login to view attachments
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 22nd Dec 2019 21:30
This post has been marked by the post author as the answer.
You can make your own input field.


By writing all the necessary handlers yourself.

Attachments

Login to view attachments
marvin944
10
Years of Service
User Offline
Joined: 27th Aug 2013
Location:
Posted: 22nd Dec 2019 21:35
I know, but that would not be very efficient programming...
Dutch

Login to post a reply

Server time is: 2024-04-24 14:37:21
Your offset time is: 2024-04-24 14:37:21