DioxusLabs / DioxusLabs/dioxus

set_inner_size doesn't work after using set_decorations(false)

Open
#3,937 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**Problem**

Can't set the initial size using the set_inner_size right after setting decorations as false.

**Screenshots**

![Image](https://github.com/user-attachments/assets/bee267ff-5117-4e27-8403-92e6c7442077)

![Image](https://github.com/user-attachments/assets/e5d4dc99-ec1b-4e08-b7c8-e04ef243dd71)

![Image](https://github.com/user-attachments/assets/8f9c3b94-0b79-4846-aa66-a9f67886b2d4)

**Environment:**

- Dioxus version: 0.6.0
- Rust version: 1.85
- OS info: Windows 10
- App platform: Desktop

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.