Review some controls

- GuiComboBox() - Define selector width and spacing
 - GuiTextBox() - Review cursor size
This commit is contained in:
Ray
2018-11-20 11:58:54 +01:00
parent a48b74cde0
commit 49ca08db05
2 changed files with 10 additions and 5 deletions

View File

@ -127,7 +127,7 @@ int main()
GuiState(GUI_STATE_NORMAL);
GuiUnlock();
comboBoxActive = GuiComboBox((Rectangle){25, 470, 115, 30}, dropdownBox001TextList, 5, comboBoxActive);
comboBoxActive = GuiComboBox((Rectangle){25, 470, 125, 30}, dropdownBox001TextList, 5, comboBoxActive);
// NOTE: GuiDropdownBox must draw after any other control that can be covered on unfolding
if (GuiDropdownBox((Rectangle){ 25, 65, 125, 30 }, dropdownBox001TextList, 5, &dropdownBox001Active, dropDown001EditMode)) dropDown001EditMode = !dropDown001EditMode;