Coder Social home page Coder Social logo

Comments (3)

alexmercerind avatar alexmercerind commented on August 19, 2024

You're linking the documentation related to title-bar, but mentioning "taskbar" in the issue title & comment.
What is your expectation from us?

It would be nice to have this feature in this plugin so that having a custom window isn't necessary.

Having the custom window IS NECESSARY.

A "default Win32 window" has bland white (even in dark-mode) title-bar, overwhich the developer cannot draw anything.

Again there are now exceptions to it after Windows 11 SDK:


The point is, the windows that you think don't have a "custom title-bar" like "the settings app", Google Chrome, Microsoft Edge, all UWP apps have a custom title-bar (with custom buttons & implementation) made to look-like native one.

With that being said, there is no future scope of work in this project other than bug-fixes. For drawing a custom window frame and title bar, recommended approaches are to use (though, not endorsed by us):

from flutter_acrylic.

Auties00 avatar Auties00 commented on August 19, 2024

You're linking the documentation related to title-bar, but mentioning "taskbar" in the issue title & comment. What is your expectation from us?

Sorry for the typo, I wrote the issue very quickly and I confused the task bar and the title bar. Fixed now.

The point is, the windows that you think don't have a "custom title-bar" like "the settings app", Google Chrome, Microsoft Edge, all UWP apps have a custom title-bar (with custom buttons & implementation) made to look-like native one.

I was arguing that it's no longer necessary to do that on Windows 11 which is very convenient as the simulated buttons don't feel native or responsive. The settings app definitely uses the technique explained in the docs I linked and not a custom title bar

from flutter_acrylic.

alexmercerind avatar alexmercerind commented on August 19, 2024

Sorry but all UWP apps (including settings app, file explorer & other UWP apps) in-fact have custom rendered buttons (not "native").

There's no way around it. Native buttons means using a plain white title-bar. The behaviour is made to closely match the look & feel. You can draw these buttons using Flutter's canvas, use SVG or official images from WinUI figma from Microsoft.

from flutter_acrylic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.