Compose Multiplatform brings auto-resizing to interop views
JetBrains has released Compose Multiplatform 1.10.0, the latest version of the Kotlin-based declarative framework for building shared UIs across multiple platforms. Unveiled January 13, the update supports automatic resizing for native interop elements on both desktop and iOS deployments.
Resizing of these elements means they now can adapt their layout to their content, eliminating the need to calculate exact sizes manually and specify fixed dimensions in advance. On the desktop,SwingPaneladjusts its size based on the embedded component’s minimum, preferred, and maximum sizes. For iOS, UIKit interop views now support sizing according to the view’s fitting size (intrinsic content size). This enables proper wrapping of SwiftUI views (via UIHostingController) and basic UIView subclasses that do not depend on NSLayoutConstraints.
Instructions on getting started with Compose Multiplatform can be found at kotlang.org. Compose Multiplatform is an optional UI framework built atop Kotlin Multiplatform technology, for building applications for different platforms and reusing code. Compose Multiplatform applications will run on iOS, Android, macOS, Windows, Linux, and the web.
Also in version 1.10.0, Compose Multiplatform now uses the Web Cache API to cache successful responses for static assets and string resources. This avoids the delays associated with the browser’s default cache, which validates stored content through repeated HTTP requests and can be slow on low-bandwidth connections. The cache is cleared on every app launch or page refresh to ensure resources remain consistent with the application’s current state. This capability is an experimental feature.
Other improvements in Compose Multiplatform 1.10.0 include:
- The Compose Hot Reload plugin now is bundled with the Compose Multiplatform Gradle plugin. Users no longer need to configure the Hot Reload plugin separately, as it is enabled by default for Compose Multiplatform projects targeting desktop.
- The approach to previews has been unified across platforms. Developers can now use the
androidx.compose.ui.tooling.preview.Previewannotation in thecommonMainsource set. Other annotations, such asorg.jetbrains.compose.ui.tooling.preview.Previewand the desktop-specificandroidx.compose.desktop.ui.tooling.preview.Preview, have been deprecated. - Navigation 3, a new library for managing navigation, is now supported on non-Android targets.
- The following properties in
DialogPropertieshave been promoted to stable and are no longer experimental:usePlatformInsets,useSoftwareKeyboardInset, andscrimColor. Similarly, theusePlatformDefaultWidthandusePlatformInsetsproperties inPopupPropertieshave also been promoted to stable. - The deprecation level for
Popupoverloads without thePopupPropertiesparameter has been changed toERRORto enforce the use of the updated API. - For iOS, Compose Multiplatform now supports
WindowInsetsRulers, which provides functionality to position and size UI elements based on window insets, such as the status bar, navigation bar, or on-screen keyboard.
Original Link:https://www.infoworld.com/article/4116995/compose-multiplatform-brings-auto-resizing-to-interop-views.html
Originally Posted: Wed, 14 Jan 2026 23:24:51 +0000












What do you think?
It is nice to know your opinion. Leave a comment.