Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setTitleBarStyle while retaining the frame #443

Open
c0pp1ce opened this issue Mar 6, 2024 · 3 comments
Open

setTitleBarStyle while retaining the frame #443

c0pp1ce opened this issue Mar 6, 2024 · 3 comments

Comments

@c0pp1ce
Copy link

c0pp1ce commented Mar 6, 2024

Currently, when using

 await windowManager.setTitleBarStyle(
    TitleBarStyle.hidden,
    windowButtonVisibility: false,
 );

The top part of the window frame is removed as well. Is this a bug, intended or am I missing something?

The problem is its visually obvious (since all other sides have the frame) as well as unintuitive because its not possible to resize the window at the top edge (though that could probably be reenabled through startResizing).

@lunxinfeng
Copy link
Contributor

when setTitleBar hide, use media_kit enter fullscreen will has blank on the edges, Is this the problem?

@c0pp1ce
Copy link
Author

c0pp1ce commented Apr 25, 2024

This is what I did:

    await windowManager.setTitleBarStyle(
      TitleBarStyle.hidden,
      windowButtonVisibility: false,
    );

I mean the topside window frame. It is missing while all others are still there. I am unsure if this is an OS (Windows 10) limitation or if it is a problem with this library.

@Xazin
Copy link

Xazin commented Jun 4, 2024

There is this small border around application windows, when hiding the title bar, the top border/shadow disappears.

This happens both on Windows and Linux, I'm unsure about MacOS, haven't tested it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants