X Tutup
The Wayback Machine - https://web.archive.org/web/20250814202351/https://github.com/processing/processing/pull/5115
Skip to content

Add console hiding button #5115

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

Merged
merged 1 commit into from
Jan 18, 2019
Merged

Conversation

GKFX
Copy link
Contributor

@GKFX GKFX commented Jun 7, 2017

Fixes #970. Gives a bit more room to code on a smaller screen. I haven't automatically unhidden it when the sketch starts since that's just bothering the user and the status bar still changes colour on exceptions. Also, I'm not leaving space for the RIGHT_MARGIN in EditorStatus; should I be? (N.B. you have push access to my PR branches, feel free to make trivial changes to constants/text etc. rather than describing them to me when that's convenient).
Also (mouseExited listener) fixed a bug where if you moved your mouse off an URL in the status bar vertically it would stay the hovered-over color because it only cares about mouseX.
image
image

@benfry
Copy link
Contributor

benfry commented Mar 26, 2018

I think we could probably incorporate this if you tweak it a bit for the just-added “clipboard” icon in the status bar. I'd put this to the right of it (but in a separate drawString(), using unicode arrows for the shape, and that'd likely work.

@GKFX
Copy link
Contributor Author

GKFX commented Mar 27, 2018

@benfry Sure, will have a look over the next few days if possible.

@GKFX GKFX force-pushed the feature-hideconsole branch from 31033fd to 6145e7d Compare March 27, 2018 23:30
@GKFX
Copy link
Contributor Author

GKFX commented Mar 27, 2018

I've merged the code for the two buttons so that both display as a Unicode character centred in a square, which can then be highlighted nicely on hover. All seems to work fine.

Also made the existing copy-message button consistent.
@GKFX GKFX force-pushed the feature-hideconsole branch from 6145e7d to d0e016b Compare March 27, 2018 23:41
@benfry benfry merged commit 62ff5d6 into processing:master Jan 18, 2019
@benfry
Copy link
Contributor

benfry commented Jan 18, 2019

Thanks; giving this a shot.

benfry added a commit that referenced this pull request Jan 18, 2019
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add ability to show/hide the console for low-resolution screens
2 participants
X Tutup