Windows: Fullscreen (#9728)
~~This is still a work in progress, but to show the public where I am working on it~~ Ready for review TODO: - [x] Justify fullscreen size to display - [x] Record and apply restored size Release Notes: - N/A
This commit is contained in:
parent
fc5a0885f3
commit
35b39e02ce
2 changed files with 82 additions and 9 deletions
|
@ -104,8 +104,9 @@ impl RenderOnce for TitleBar {
|
|||
.w_full()
|
||||
.children(self.children),
|
||||
)
|
||||
.when(self.platform_style == PlatformStyle::Windows, |title_bar| {
|
||||
title_bar.child(WindowsWindowControls::new(height))
|
||||
})
|
||||
.when(
|
||||
self.platform_style == PlatformStyle::Windows && !cx.is_fullscreen(),
|
||||
|title_bar| title_bar.child(WindowsWindowControls::new(height)),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue