Skip to content
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

text_x_offset (distance between textboxes) #49

Open
josch opened this issue Sep 13, 2015 · 0 comments
Open

text_x_offset (distance between textboxes) #49

josch opened this issue Sep 13, 2015 · 0 comments

Comments

@josch
Copy link
Contributor

josch commented Sep 13, 2015

https://sourceforge.net/p/glui/feature-requests/13/

Is it possible to adjust the distance between edit
textboxes. I tried to change the value text_x_offset =
55 in the constructor of the edittext class and recompile
the library. But then the sub windows weren't being
displayed as they should. A function for the edittextbox
class wich would set the distance between two text
boxes would be quit usefull for me.

GLUI_EditText( void ) {
type = GLUI_CONTROL_EDITTEXT;
h = GLUI_EDITTEXT_HEIGHT;
w = GLUI_EDITTEXT_WIDTH;
title_x_offset = 0;
text_x_offset = 55;//<-orginal
//text_x_offset = 10;

insertion_pt          = -1;
last_insertion_pt     = -1;
name[0]               = '\0';
substring_start       = 0;
data_type             = GLUI_EDITTEXT_TEXT;
substring_end         = 2;
num_periods           = 0;
has_limits            = GLUI_LIMIT_NONE;
sel_start             = 0;
sel_end               = 0;
active_type           =

GLUI_CONTROL_ACTIVE_PERMANENT;
can_activate = true;
spacebar_mouse_click = false;
spinner = NULL;
debug = false;
draw_text_only = false;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant