Ignore:
Timestamp:
02/05/14 14:42:00 (10 years ago)
Author:
ngw8
Message:

Scrollbars now hidden from converted pages. Doesn't seem possible to completely remove them (so that the space they occupied collapses), only hide them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/items/widgets/JfxBrowser.java

    r839 r840  
    4646
    4747import org.expeditee.gui.DisplayIO;
    48 import org.expeditee.gui.FrameGraphics;
    4948import org.expeditee.gui.FrameMouseActions;
    5049import org.expeditee.gui.FreeItems;
     
    807806         * @param visible
    808807         */
    809         public void setOverlayVisible(final boolean visible) {
     808        public void setOverlayVisible(boolean visible) {
    810809                this._overlay.setVisible(visible);
     810        }
     811
     812        public void setScrollbarsVisible(boolean visible) {
     813                if (!visible) {
     814                        this._webView.getStyleClass().add("scrollbars-hidden");
     815                } else {
     816                        this._webView.getStyleClass().remove("scrollbars-hidden");
     817                }
    811818        }
    812819
Note: See TracChangeset for help on using the changeset viewer.