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

gtk2 pre-scale #82

Closed
kindlychung opened this issue Apr 5, 2017 · 4 comments
Closed

gtk2 pre-scale #82

kindlychung opened this issue Apr 5, 2017 · 4 comments

Comments

@kindlychung
Copy link

According to Arch linux wiki:

Scaling of UI elements is not supported by the toolkit itself, however it's possible to generate a theme with elements pre-scaled for HiDPI display using oomox-gitAUR.

How does one pre-scale elements in oomox?

The HiDPI option doesn't have much of an effect: http://i.imgur.com/Hd2hNDT.png

@actionless
Copy link
Member

you can find out widget class of that panel in inkscape and add a rule for it to this file:
https://github.com/actionless/oomox/blob/master/src/gtk-2.0/gtkrc.hidpi

this tool should be helpful:
https://chipx86.github.io/gtkparasite/

@actionless
Copy link
Member

also icon sizes could be overriden by you settings manager, here is an example of how it's done in xsettingsd:

Gtk/IconSizes "panel-menu=40,40:panel=40,40:gtk-menu=24,24:gtk-large-toolbar=40,40:gtk-small-toolbar=40,40:gtk-button=24,24"

@actionless
Copy link
Member

if there are any volunteers to implement that pre-scaling here is an example:
nana-4/materia-theme#142

but in this case it will also take some effort to re-implement border radius option for buttons/inputs

@actionless
Copy link
Member

This issue was moved to themix-project/oomox-gtk-theme#5

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

No branches or pull requests

2 participants