mirror of
https://gitlab.com/2009scape/09launcher.git
synced 2025-12-09 16:45:54 -07:00
6 lines
No EOL
180 B
Kotlin
6 lines
No EOL
180 B
Kotlin
import java.awt.Component
|
|
|
|
fun Component.placeAt(x: Int, y: Int, width: Int, height: Int){
|
|
this.setBounds(x,y,width,height)
|
|
if(this is ImgButton) this.scale(width,height)
|
|
} |