Skip to content

Commit cbef5d1

Browse files
committed
fix examples/gui/controls_test_suite
1 parent 6754b1c commit cbef5d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/gui/controls_test_suite/controls_test_suite.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func main() {
168168
if gui.ValueBox(rl.Rectangle{25, 175, 125, 30}, "", &valueBox002Value, 0, 100, valueBoxEditMode) {
169169
valueBoxEditMode = !valueBoxEditMode
170170
}
171-
gui.SetStyle(gui.TEXTBOX, gui.TEXT_ALIGNMENT, int64(gui.TEXT_ALIGN_LEFT))
171+
gui.SetStyle(gui.TEXTBOX, gui.TEXT_ALIGNMENT, gui.TEXT_ALIGN_LEFT)
172172
if gui.TextBox(rl.Rectangle{25, 215, 125, 30}, &textBoxText, 64, textBoxEditMode) {
173173
textBoxEditMode = !textBoxEditMode
174174
}
@@ -199,7 +199,7 @@ func main() {
199199
comboBoxActive = gui.ComboBox(rl.Rectangle{25, 470, 125, 30}, "ONE;TWO;THREE;FOUR", comboBoxActive)
200200

201201
// NOTE: gui.DropdownBox must draw after any other control that can be covered on unfolding
202-
gui.SetStyle(gui.DROPDOWNBOX, gui.TEXT_ALIGNMENT, int64(gui.TEXT_ALIGN_LEFT))
202+
gui.SetStyle(gui.DROPDOWNBOX, gui.TEXT_ALIGNMENT, gui.TEXT_ALIGN_LEFT)
203203
if gui.DropdownBox(rl.Rectangle{25, 65, 125, 30}, "#01#ONE;#02#TWO;#03#THREE;#04#FOUR", &dropdownBox001Active, dropDown001EditMode) {
204204
dropDown001EditMode = !dropDown001EditMode
205205
}

0 commit comments

Comments
 (0)