corechess icon indicating copy to clipboard operation
corechess copied to clipboard

Add compact view

Open sakya opened this issue 3 years ago • 1 comments

sakya avatar Feb 10 '22 12:02 sakya

I like this idea. I toyed around with it a little. I can hide/show side panel by giving its grid a name, and I can hide/show the menu too. Fitting the window to contents is easy too, the only problem is when they are hidden, the window must be unresizable, or it looks ugly when resized.

And I can't make the window resize with an aspect ratio. I tried that hard on a different project of mine some time ago, and I failed at that too. I guess the window managers in OSes override some resize events.

Edit: Of course, the window may be unresizable in compact mode. Not ideal, but doable.

Edit: I can do it BTW, if you'd like me to do.

ghost avatar Jul 17 '22 04:07 ghost