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

Adjusting Scale for Higher DPI Screens #505

Closed
olablt opened this issue Jan 26, 2017 · 7 comments
Closed

Adjusting Scale for Higher DPI Screens #505

olablt opened this issue Jan 26, 2017 · 7 comments

Comments

@olablt
Copy link

olablt commented Jan 26, 2017

Is it possible to change the DPI settings for high resolution screen?

@vlachoudis
Copy link
Owner

From bCNC you can change the fonts in the Tab: Tools -> Fonts, but not the DPI.
Now in the font size if you set a negative number e.g. -12, tk creates the font to the exact pixel size,
with positive 12, it will use the DPI of your screen.

@HomineLudens
Copy link
Contributor

Doubling icon size on load may also help.
You can try by modify the method loadIcons() in the file Utilis.py

def loadIcons():
   global icons
   icons = {}
   for img in glob.glob("%s%sicons%s*.gif"%(prgpath,os.sep,os.sep)):
   	name,ext = os.path.splitext(os.path.basename(img))
   	try:
   		icons[name] = PhotoImage(file=img)
   		icons[name] = icons[name].zoom(2, 2) #<--  Double size Icon
   	except TclError:
   		pass

@olablt
Copy link
Author

olablt commented Jan 28, 2017

Thanks! Will try these suggestions!

@vlachoudis
Copy link
Owner

@effer it should be added as a user preference the zooming of icons

@HomineLudens
Copy link
Contributor

Ok will do.

@vlachoudis
Copy link
Owner

Thanks to @effer it is now an option in the preferences. #506

@garyemiller
Copy link

Help! Where is that config option? I can't find it.

Here is a screen shot, so you see how hard it is to read:

screen

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

4 participants