Dretax Posted July 12, 2017 Share Posted July 12, 2017 I'm having trouble with dxDrawText. I have my own GUI system, that is able to draw nice textbox backgrounds, and drawing the guieditbox on it with alpha 0 (invisible). This makes it possible for me to draw nicer texts and backgrounds for the textbox instead of having the default white guiedit. Everything is fine, but there is one problem. The default MTA GuiEdit is capable of moving the text if you have exceeded the textbox's size. If setting clip to true this happens: If I set it to false, the text will stay, but I won't see the other text after the box's limit. I was thinking on calculating it out, and moving it manually somehow, but I thought I would ask first, since I might have missed something. Cheers. Link to comment
Dretax Posted July 30, 2017 Author Share Posted July 30, 2017 ~~~~~~~~ Incase anyone was wondering, I thought I wouldn't leave my thread empty, the solution before was to calculate the displayable amount of characters, which in default case is boxlength / 7, and sub the last n chars. 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now