Skip to content

Add console hiding button#5115

Merged
benfry merged 1 commit into
processing:masterfrom
GKFX:feature-hideconsole
Jan 18, 2019
Merged

Add console hiding button#5115
benfry merged 1 commit into
processing:masterfrom
GKFX:feature-hideconsole

Conversation

@GKFX

@GKFX GKFX commented Jun 7, 2017

Copy link
Copy Markdown
Contributor

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

benfry commented Mar 26, 2018

Copy link
Copy Markdown
Contributor

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

GKFX commented Mar 27, 2018

Copy link
Copy Markdown
Contributor Author

@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

GKFX commented Mar 27, 2018

Copy link
Copy Markdown
Contributor Author

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

benfry commented Jan 18, 2019

Copy link
Copy Markdown
Contributor

Thanks; giving this a shot.

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

Copy link
Copy Markdown

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