Kotlin Wrappers API Reference
Toggle table of contents
web
Target filter
web
Switch theme
Search in API
Skip to content
Kotlin Wrappers API Reference
kotlin-tauri-apps-api
/
tauri.apps.api.window
/
Window
/
setSize
set
Size
fun
setSize
(
size
:
LogicalSize
)
:
Promise
<
Void
>
(
source
)
fun
setSize
(
size
:
PhysicalSize
)
:
Promise
<
Void
>
(
source
)
fun
setSize
(
size
:
Size
)
:
Promise
<
Void
>
(
source
)
Resizes the window with a new inner size.
Parameters
size
The logical or physical inner size.