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

Dash customization #23

Closed
no-comma opened this issue Apr 28, 2021 · 2 comments · Fixed by #26
Closed

Dash customization #23

no-comma opened this issue Apr 28, 2021 · 2 comments · Fixed by #26
Labels
enhancement New feature or request

Comments

@no-comma
Copy link
Contributor

Increasing the right offset increases the size of the workspace thumbnails, so would it be possible to do the same for left offset increasing the size of the dash? Or if not, adding another option to increase its size. Also an option to move the show applications button to the bottom would be nice.

@RensAlthuis RensAlthuis added the enhancement New feature or request label Apr 30, 2021
@RensAlthuis
Copy link
Owner

I believe the dash size is limited by the size of the icons, there is a list somewhere that specifies a couple different sizes. Perhaps adding some larger values to that list will do the trick, I doubt will look very good but It's worth a look at least.
Option to move the show applications button is no problem, I'll add that as soon as I have some time to work on this again (unless of course make a PR before that time).

Adding an option around this line should do it:

dash._dashContainer.set_child_at_index(dash._showAppsIcon, 0) //move showAppbutton on top;

@no-comma
Copy link
Contributor Author

When using the extension the icons on the dash appear as noticeably smaller compared to older versions of GNOME and the default horizontal dash, I assumed it was by design and I wanted an option to change it. But now I found that the icons actually appear smaller than they're defined as, for example when dragging an icon on the dash it appears as larger than the icons on the dash. It's because of a line in the CSS stylesheet, changing

#dash.vertical-overview .overview-icon {
    padding: 0px 10px;
}

to

#dash.vertical-overview .overview-icon {
    padding: 10px 10px;
}

or commenting the lines out fixes it. I think fixing this and adding an option to limit the maximum icon size would be better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants