Great! Thanks :-) -Marshall
On 9/22/2016 11:37 AM, Jessica Glover wrote:
> Hi Marshall,
> Thanks for your response. It *should* be platform agnostic, since I'm
> deriving font size for Swing components from the system look and feel. I
> hadn't had a chance to do it yet, but I'll definitely test on different
> platforms before submitting the patch.
> On Thu, Sep 22, 2016 at 9:20 AM, Marshall Schor (JIRA) <firstname.lastname@example.org>
>> [ https://issues.apache.org/jira/browse/UIMA-5116?page=
>> tabpanel&focusedCommentId=15513286#comment-15513286 ]
>> Marshall Schor commented on UIMA-5116:
>> a patch would be appreciated. Is it platform (Windows, Linux, MacOS,
>> etc.) agnostic?
>>> CVD tiny font size on hidpi monitor
>>> Key: UIMA-5116
>>> URL: https://issues.apache.org/jira/browse/UIMA-5116
>>> Project: UIMA
>>> Issue Type: Bug
>>> Components: Tools
>>> Environment: Windows 10, 276 ppi monitor.
>>> Reporter: Jessica Glover
>>> Priority: Minor
>>> On Windows 10, with a high dpi monitor, the CVD appears in a very small
>> window. When the window is resized, the font is still unreadably small.
>>> On my local machine, I ran the CVD with system look and feel. This
>> increased the font size for the pane labels, but not the text inside the
>> text display.
>>> In the CVD class, I updated the main method to reset the UIManager
>> defaults for TextArea.font and Tree.font to match TextField.font. This
>> fixed the font size of the text, but the text in the IR and FS trees was
>> being cut off on the top and bottom.
>>> In the MainFrame class, I updated the height of the tree rows in
>> initFSTree() and initIRTree() to be the same as the fsTree font size. It
>> needs to be increased just a tad, but otherwise the display looks great now.
>>> Not sure whether I should submit a patch, or if there is a better
>> approach to ensure continued compatibility with other systems.
>> This message was sent by Atlassian JIRA