Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

quickly hide title-bar by config - #14003

Closed
xtoolkit wants to merge 3 commits into
atom:masterfrom
xtoolkit:master
Closed

xtoolkit wants to merge 3 commits into
atom:masterfrom
xtoolkit:master

Conversation

@xtoolkit

@xtoolkit xtoolkit commented Mar 14, 2017 •

Copy link
Copy Markdown

Description of the Change

hi
first i add minimize function in atom-environment.coffee for use this command: atom.minimize();
two add forceHideTitleBar config. because designer need hide title-bar for beautiful develop atom.

Why Should This Be In Core?

better design develop.

Benefits

quick

Possible Drawbacks

nothing

Applicable Issues

nothing


my customize [with this changes] demo:

screenshot 42

Video demo

sry 4 my bad english

@xtoolkit

Copy link
Copy Markdown
Author

pre request for xtoolkit/arshen-ac#1 package

@Stanzilla

Copy link
Copy Markdown

Well I guess you wanted forceHideTitleBar instead of froceHideTitleBar?

@xtoolkit

Copy link
Copy Markdown
Author

Why can not it be like that?

@xtoolkit xtoolkit changed the title quickly for hide title-bar by config quickly hide title-bar by config Apr 22, 2017
@xtoolkit

Copy link
Copy Markdown
Author

Ok . This is not a good method . Give me a solution instead.
@nathansobo @maxbrunsfeld @damieng

@damieng

damieng commented Apr 22, 2017

Copy link
Copy Markdown
Contributor

The problem is that hiding the title bar currently only works on macOS and a theme really needs to be able to support it by providing similar functionality.

Additionally if we were to go down this path;

  1. The correct spelling is 'force' not 'froce'
  2. New configuration settings should contain an entry in the schema with the appropriate description

@xtoolkit

Copy link
Copy Markdown
Author

@damieng thank you for answering!
can you help me for second path?

@simurai

simurai commented Apr 25, 2017

Copy link
Copy Markdown
Contributor

first i add minimize function in atom-environment.coffee for use this command: atom.minimize();

👍 on adding a atom.minimize(); command

two add forceHideTitleBar config.

Do you mean you would like a command to force the title-bar to be hidden? So you can use that command in your package?

Couldn't you "force" it by directly setting the config to hidden:

atom.config.set("core.titleBar", "hidden")

Note that changing the title bar can't be done "quickly" and needs a reload of Atom. You should see this popup when you try:

screen shot 2017-04-25 at 10 46 21 am

@willbonney

Copy link
Copy Markdown

any updates on this?

@sadick254

Copy link
Copy Markdown
Contributor

Thanks for your contribution.

I am closing this PR since the ability to hide the title bar has been available for a while now on windows, mac and linux systems. Please try the latest Atom release. Thank you.

@sadick254 sadick254 closed this May 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants