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

PyChess side menu can be completely hidden #2015

Open
axet opened this issue Mar 19, 2023 · 5 comments
Open

PyChess side menu can be completely hidden #2015

axet opened this issue Mar 19, 2023 · 5 comments

Comments

@axet
Copy link

axet commented Mar 19, 2023

Hello!

Playing PyChess vs Computer allow you to see side panel with moves history, and score. It is easy to hide this panel moving slider to the right (or left) and hide it completely. Here is hard to restore this panel when it is zero size.

Better to set minimum size for booth board and side panel to prevent it get 100% hidden.

(it hide it self, not sure how is that happened. so it took time before I figure it it out where my panel is)

pychess-1.0.3

EDIT: side panel got hidden again somehow, I have to snipe the slider to get it back.

@axet
Copy link
Author

axet commented Mar 19, 2023

Panel 100% Hidden. It is hard to click on this scroll bar but 'View / Scores' enabled. It is hard to click to restore the panel.

Screenshot from 2023-03-19 20-16-00

@gbtami
Copy link
Member

gbtami commented Mar 19, 2023

Yea, this is a long standing issue I hate as well :)

@gbtami
Copy link
Member

gbtami commented Mar 19, 2023

Btw I was never able to come up with any good solution to fix this in the past, so any help is appreciated!

@axet
Copy link
Author

axet commented Mar 19, 2023

Its called minimum panel size. Not sure if GTK has it... Or I recall it from java awt/swt...

@gbtami
Copy link
Member

gbtami commented Mar 19, 2023

The thing is pychess has its own panel dock system implementation (created by the original author Thomas Ahle) in https://github.com/pychess/pychess/tree/master/lib/pychess/widgets/pydock
Idk GTK has anything similar.

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

No branches or pull requests

3 participants