Module wlc::ConstraintAdjustment [] [src]

View Positioner Adjustments when View is constraint

Structs

Flags

Bitmap that may represent multiple Constraints to adjust a View by it's Positioner

Constants

FlipX

Invert the anchor and gravity on the x axis if the surface is constrained on the x axis. For example, if the left edge of the surface is constrained, the gravity is 'left' and the anchor is 'left', change the gravity to 'right' and the anchor to 'right'.

FlipY

Invert the anchor and gravity on the y axis if the surface is constrained on the y axis. For example, if the bottom edge of the surface is constrained, the gravity is 'bottom' and the anchor is 'bottom', change the gravity to 'top' and the anchor to 'top'.

Null

Don't alter the surface position even if it is constrained on some axis, for example partially outside the edge of a monitor.

ResizeX

Resize the surface horizontally so that it is completely unconstrained.

ResizeY

Resize the surface vertically so that it is completely unconstrained.

SlideX

Slide the surface along the x axis until it is no longer constrained.

SlideY

Slide the surface along the y axis until it is no longer constrained.