Lemonius
Lemonius

Reputation: 91

How to set Chrome app's max width narrower than the width of minimize, maximize, close -buttons?

I have made a simple chrome app which should only need to be 50px wide for my purposes. But currently I have not figured out how to make window really narrower than about 140px which the window will come.

Even if I set the width and maxWidth properties to 50px. And when window is narrow as possible, it contains the minimize, maximize and close button. So maybe they are because Windows need them to be? I tried to make it borderless (/frameless), but same problem with the width still occurs.

Is it possible to remove the minimize and maximize buttons? Or is it even possible to make the chrome app so narrow?

Currently have only tested this on Windows 7

Upvotes: 0

Views: 144

Answers (1)

Xan
Xan

Reputation: 77541

Since you already tried frameless, there's likely nothing you can do. I tested it on Windows 10, same result.

Seems like for frameless windows Chrome creates a normal window (constrained in size by displaying those controls in Windows) and just overrides how it's painted.

It seems to be a reported bug with not much activity. With Chrome Apps being deprecated on Windows, I don't see this getting fixed.

Upvotes: 1

Related Questions