mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
Workaround to scale up fonts on high resolution Linux systems
This commit is contained in:
parent
cc0f14c14c
commit
424b246eda
@ -1,3 +1,12 @@
|
||||
if { $tcl_platform(os) eq "Linux" && [tk scaling] > 1.5 } {
|
||||
# On some Linux systems, the scaling setting is only applied after
|
||||
# overwriting some default font settings.
|
||||
# This is a workaround to scale up fonts on high resolution displays.
|
||||
font create ngFont -family Helvetica
|
||||
option add *font ngFont
|
||||
ttk::style configure "." -font ngFont
|
||||
}
|
||||
|
||||
# netgen menus:
|
||||
|
||||
menu .ngmenu -tearoff 0 -relief raised -bd 2
|
||||
|
Loading…
Reference in New Issue
Block a user