Fix chatbox
This commit is contained in:
parent
c101a6f6be
commit
5ad04479f8
|
@ -544,7 +544,7 @@ struct DjuiChatBox* djui_chat_box_create(void) {
|
|||
cfBase->abandonAfterChildRenderFail = true;
|
||||
chatBox->chatFlow = chatFlow;
|
||||
|
||||
struct DjuiInputbox* chatInput = djui_inputbox_create(base, 200);
|
||||
struct DjuiInputbox* chatInput = djui_inputbox_create(base, MAX_MSG_LENGTH);
|
||||
struct DjuiBase* ciBase = &chatInput->base;
|
||||
djui_base_set_size_type(ciBase, DJUI_SVT_RELATIVE, DJUI_SVT_ABSOLUTE);
|
||||
djui_base_set_size(ciBase, 1.0f, 32);
|
||||
|
|
Loading…
Reference in New Issue