1 write to _contentHeight
aspire-tray (1)
src\Aspire.Tray\Common\TrayPanel.cs (1)
858
_contentHeight
= y + ListBottomPadding;
5 references to _contentHeight
aspire-tray (5)
src\Aspire.Tray\Common\TrayPanel.cs (5)
445
_scroll = Math.Clamp(scroll, 0, Math.Max(0,
_contentHeight
- _viewport.Height));
480
scrollRange =
_contentHeight
- _viewport.Height;
488
var thumbHeight = Math.Min(trackHeight, Math.Max(ScrollbarMinimumThumbHeight, trackHeight * _viewport.Height /
_contentHeight
));
934
var height = Math.Min(_maxHeight, chrome +
_contentHeight
);
936
_scroll = Math.Clamp(_scroll, 0, Math.Max(0,
_contentHeight
- _viewport.Height));