polyui
1.7.34
jvm
polyui
/
org.polyfrost.polyui.component.impl
/
Dropdown
Dropdown
@
JvmName
(
name
=
"Dropdown"
)
fun
Dropdown
(
vararg
entries
:
String
,
at
:
Vec2
=
Vec2.ZERO
,
fontSize
:
Float
=
12.0f
,
initial
:
Int
=
0
,
padding
:
Float
=
12.0f
,
textLength
:
Float
=
0.0f
)
:
Block
For images, use
Image to "string"
for each entry.
@
JvmName
(
name
=
"Dropdown"
)
fun
Dropdown
(
vararg
entries
:
Pair
<
PolyImage
?
,
String
>
,
at
:
Vec2
=
Vec2.ZERO
,
fontSize
:
Float
=
12.0f
,
initial
:
Int
=
0
,
optPadding
:
Float
=
12.0f
,
textLength
:
Float
=
0.0f
)
:
Block