uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jessica Glover (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-5116) CVD tiny font size on hidpi monitor
Date Tue, 20 Sep 2016 14:49:21 GMT
Jessica Glover created UIMA-5116:

             Summary: 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

View raw message