-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IP entry window #388
Comments
The 2 values are both highlighted and wrong in the picture only to demonstrate how those work. In use it will clamp the invalid octets to the range of 0-255 when it loses focus. |
Moved to a wiki page IP Entry |
It seems unnecessary complicated to create 4 text fields instead of one (and parse the text there). However if you do that you'd probably want to have the cursor automatically go from one field to the next when typing 3 characters or a space. Could be accomplished using the text callback to query cursor position (bit some complication). Prior to "IP" you can call AlignFirstTextLineToWidget(). Also I am not sure why you are calling BeginGroup() it has no use there. I've seem many people use groups not as intended so my conclusion is that I need to write proper documentation about it :) |
Ah thanks. Also I did use an InputInt4 but you don't have access to the On Sat, Oct 24, 2015 at 3:45 PM, omar notifications@github.com wrote:
-Adam |
AlignFirstTextLineToWidget() doesn't seem to exist? |
Believe Omar meant AlignFirstTextHeightToWidgets() |
Ah thanks paultech that would be the right one.
I know on standard input you can, but maybe having the ability to pass one
down through the call to InputInt4 and similar would be handy for certain
situations.
|
I have developed an IP entry box as I couldn't find any already made.
The text was updated successfully, but these errors were encountered: