Ignore:
Timestamp:
02/10/14 16:02:59 (10 years ago)
Author:
csl14
Message:

Exploratory Search web browser now anchors to fullscreen + fixed bug with anchoring widgets

File:
1 edited

Legend:

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

    r866 r876  
    866866
    867867                if (_anchorLeft != null) {
    868                     sb.append(" -anchorLeft " + Math.round(_anchorLeft));
     868                    sb.append(" --anchorLeft " + Math.round(_anchorLeft));
    869869                }
    870870                if (_anchorRight != null) {
    871                     sb.append(" -anchorRight " + Math.round(_anchorRight));
     871                    sb.append(" --anchorRight " + Math.round(_anchorRight));
    872872                }
    873873
    874874                if (_anchorTop != null) {
    875                     sb.append(" -anchorTop " + Math.round(_anchorTop));
     875                    sb.append(" --anchorTop " + Math.round(_anchorTop));
    876876                }
    877877
    878878                if (_anchorBottom != null) {
    879                     sb.append(" -anchorBottom " + Math.round(_anchorBottom));
     879                    sb.append(" --anchorBottom " + Math.round(_anchorBottom));
    880880                }
    881881
     
    20012001                }
    20022002               
    2003                 // Move X-rayable items as well
    2004                 getSource().setAnchorLeft(anchor);
     2003                // Move X-rayable item as well
     2004                getCurrentRepresentation().setAnchorLeft(anchor);
    20052005        }
    20062006
     
    20182018                if (_anchorLeft == null) {
    20192019                        // Prefer having the X-rayable item at anchorLeft position (if defined) over moving to anchorRight
    2020                         getSource().setAnchorRight(anchor);
     2020                        getCurrentRepresentation().setAnchorRight(anchor);
    20212021                }
    20222022        }
     
    20332033                }
    20342034       
    2035                 // Move X-rayable items as well
    2036                 getSource().setAnchorTop(anchor);
     2035                // Move X-rayable item as well
     2036                getCurrentRepresentation().setAnchorTop(anchor);
    20372037        }
    20382038
     
    20502050                if (_anchorTop == null) {
    20512051                    // Prefer having the X-rayable item at anchorTop position (if defined) over moving to anchorBottom
    2052                     getSource().setAnchorBottom(anchor);
     2052                        getCurrentRepresentation().setAnchorBottom(anchor);
    20532053                }
    20542054        }
Note: See TracChangeset for help on using the changeset viewer.