Ignore:
Timestamp:
03/18/19 18:38:32 (5 years ago)
Author:
davidb
Message:

Changed how DisplayController width, height and size are retrieved. Now does this top-level, rather than going through the AxisAlignmentBox. In doing so, can now control for when the window size has you yet been correctly mapped to the screen, and fall back to pre-defined MINIMUM defaults

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/io/WebParser.java

    r1125 r1258  
    302302                try {
    303303                       
    304                         final int verticalScrollPerPage = (int) (DisplayController.getFramePaintArea().getHeight() * 0.85);
    305                         final int horizontalScrollPerPage = (int) (DisplayController.getFramePaintArea().getWidth() * 0.85);
     304                        final int verticalScrollPerPage = (int) (DisplayController.getFramePaintAreaHeight() * 0.85);
     305                        final int horizontalScrollPerPage = (int) (DisplayController.getFramePaintAreaWidth() * 0.85);
    306306                                               
    307307                        Platform.runLater(new Runnable() {
Note: See TracChangeset for help on using the changeset viewer.