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

Add window restore icon #18

Open
csnewman opened this issue Jan 10, 2021 · 3 comments
Open

Add window restore icon #18

csnewman opened this issue Jan 10, 2021 · 3 comments
Labels
work in progress This is currently being implemented

Comments

@csnewman
Copy link

When maximised, the icon to de-maximise the window is displayed as the maximise icon.

Current:
image

Expected:
image

@bitsdojo bitsdojo changed the title Add windowise icon Add window restore icon Jan 11, 2021
@EriKWDev
Copy link

EriKWDev commented Jan 15, 2021

A tutorial for how to achieve this look in electron (here) mentioned some svg icons from a pull-request that was rejected.

Don't know where the original author got it from, but here is the svg for the restore button:

<svg width="11" height="11" viewBox="0 0 11 11">
    <path d="m11 8.7978h-2.2021v2.2022h-8.7979v-8.7978h2.2021v-2.2022h8.7979zm-3.2979-5.5h-6.6012v6.6011h6.6012zm2.1968-2.1968h-6.6012v1.1011h5.5v5.5h1.1011z" stroke-width=".275" />
</svg>

image

@esDotDev
Copy link
Contributor

esDotDev commented Jan 20, 2021

I have a PR here that adds this Icon, just not quite sure how to wire it up:
#22

The PR moves away from SVG, as the line rendering is harder to control and can easily create aliased results.

@bitsdojo bitsdojo added the work in progress This is currently being implemented label Aug 17, 2021
@ankushmishra2903-official

I found solution in #114 just create my own button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work in progress This is currently being implemented
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants