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;
};
};