Skip to content
Zahid edited this page Jun 30, 2025 · 1 revision

Deskit Version 1.2.1 Release Notes

Released: 07.06.2025

Deskit 1.2.1 is a minor update that refines the user experience by addressing text styling and dialog sizing issues introduced in version 1.2.0.

What's New in 1.2.1

  • ✍️ Text Styling Updates: Improved text styling for better readability and consistency across dialogs.
  • 📏 Flexible Dialog Sizing: Removed hardcoded width and height constraints for InfoDialog and ConfirmationDialog, allowing for more adaptive layouts.

Detailed Changes

  • Text Styling: Minor adjustments to font sizes, weights, and spacing to enhance the visual hierarchy and readability in all dialogs.
  • Dialog Sizing: Eliminated fixed dimensions in InfoDialog and ConfirmationDialog, enabling the dialogs to resize dynamically based on content for a more polished and responsive UI.

Code Example

InfoDialog with Custom Content (unchanged from 1.2.0 but benefits from dynamic sizing)

InfoDialog(
    width = 450.dp,
    height = 400.dp,
    title = "Custom Content",
    icon = painterResource(Res.drawable.info),
    content = {
        Column(horizontalAlignment = Alignment.CenterHorizontally) {
            Text("This is a custom message with")
            Spacer(Modifier.height(8.dp))
            Text("multiple components", fontWeight = FontWeight.Bold)
            Spacer(Modifier.height(16.dp))
            LinearProgressIndicator(modifier = Modifier.width(200.dp))
        }
    },
    onClose = {  }
)

Upgrading to 1.2.1

To use Deskit 1.2.1, update your build.gradle.kts or settings.gradle.kts as described in the Installation guide, ensuring the dependency is set to:

implementation("com.github.zahid4kh:deskit:1.2.1")
Clone this wiki locally