How far the view hangs past each end of the strip, in main-axis px: leading before the first column (a negative view offset) and trailing past the last offset that still ends on the strip.
More...
#include <PhosphorScrollEngine/ScrollStrip.h>
Public Attributes | |
| int | leading = 0 |
| int | trailing = 0 |
How far the view hangs past each end of the strip, in main-axis px: leading before the first column (a negative view offset) and trailing past the last offset that still ends on the strip.
0 on a side whose view is in range, and on both without an active column or against a degenerate work area. The centering mutators store either kind on purpose (a centered first or last column).
| int PhosphorScrollEngine::ScrollStrip::ViewOverhang::leading = 0 |
| int PhosphorScrollEngine::ScrollStrip::ViewOverhang::trailing = 0 |