{"action":"created","issue":{"url":"https://api.github.com/repos/JMRI/JMRI/issues/488","labels_url":"https://api.github.com/repos/JMRI/JMRI/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/JMRI/JMRI/issues/488/comments","events_url":"https://api.github.com/repos/JMRI/JMRI/issues/488/events","html_url":"https://github.com/JMRI/JMRI/pull/488","id":124664514,"number":488,"title":"Increase possible font size from 18 to 20","user":{"login":"AlanUS","id":13929150,"avatar_url":"https://avatars.githubusercontent.com/u/13929150?v=3","gravatar_id":"","url":"https://api.github.com/users/AlanUS","html_url":"https://github.com/AlanUS","followers_url":"https://api.github.com/users/AlanUS/followers","following_url":"https://api.github.com/users/AlanUS/following{/other_user}","gists_url":"https://api.github.com/users/AlanUS/gists{/gist_id}","starred_url":"https://api.github.com/users/AlanUS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlanUS/subscriptions","organizations_url":"https://api.github.com/users/AlanUS/orgs","repos_url":"https://api.github.com/users/AlanUS/repos","events_url":"https://api.github.com/users/AlanUS/events{/privacy}","received_events_url":"https://api.github.com/users/AlanUS/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JMRI/JMRI/labels/WIP","name":"WIP","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2016-01-03T18:55:24Z","updated_at":"2016-01-05T06:55:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JMRI/JMRI/pulls/488","html_url":"https://github.com/JMRI/JMRI/pull/488","diff_url":"https://github.com/JMRI/JMRI/pull/488.diff","patch_url":"https://github.com/JMRI/JMRI/pull/488.patch"},"body":"In order to cope with UHD 4K screens, I think needed to increase the possible maximum font size in JMRI from 18 to 20. So this is what this change is all about.\r\nHowever, there are some side effects that I have not been able to change and for which some help would be highly appreciated.\r\nOn the roster view of DecoderPro, the row height is fixed, probably to 20, and therefore any font size beyond 18 is just hardly readable.\r\nI thought that I found the right parameter with “minFieldDim” that is present in RosterEntryPane.java and RosterFrame.java, where the second argument is “20”, but changing it did not produce the expected result.\r\nIt is also likely that a “one size fits all” approach has some limits, so maybe the row height should be determined based on the font size (as defined in “GuiLafConfigPane.java”).\r\nDespite my limited Java programming skills, I’ll be please to contribute with some guidance.\r\n\r\nAlso I’ve noticed some limits to the font size change:\r\n1.\tThe Profile selection windows (at startup) doesn’t resize to the font size selection. On a 4k screen, this is really tiny.\r\n2.\tThe functions buttons’ labels on the Throttle window do not resize, whereas the rest of the throttle resize OK.\r\n"},"comment":{"url":"https://api.github.com/repos/JMRI/JMRI/issues/comments/168919133","html_url":"https://github.com/JMRI/JMRI/pull/488#issuecomment-168919133","issue_url":"https://api.github.com/repos/JMRI/JMRI/issues/488","id":168919133,"user":{"login":"rhwood","id":297232,"avatar_url":"https://avatars.githubusercontent.com/u/297232?v=3","gravatar_id":"","url":"https://api.github.com/users/rhwood","html_url":"https://github.com/rhwood","followers_url":"https://api.github.com/users/rhwood/followers","following_url":"https://api.github.com/users/rhwood/following{/other_user}","gists_url":"https://api.github.com/users/rhwood/gists{/gist_id}","starred_url":"https://api.github.com/users/rhwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhwood/subscriptions","organizations_url":"https://api.github.com/users/rhwood/orgs","repos_url":"https://api.github.com/users/rhwood/repos","events_url":"https://api.github.com/users/rhwood/events{/privacy}","received_events_url":"https://api.github.com/users/rhwood/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T06:55:57Z","updated_at":"2016-01-05T06:55:57Z","body":"Does running with the system property ```-Dsun.java2d.dpiaware=true``` or ```-Dsun.java2d.dpiaware=false``` make a difference?"}}