Made 'LeaveLastRow' optional as new property in TableStyle

This commit is contained in:
tznind
2021-01-24 19:08:34 +00:00
parent 6066d711ad
commit eb97e64830
2 changed files with 13 additions and 3 deletions

View File

@@ -83,6 +83,9 @@ namespace UICatalog.Scenarios {
private void SetupScrollBar ()
{
// When using scroll bar leave the last row of the control free (for over-rendering with scroll bar)
treeViewFiles.Style.LeaveLastRow = true;
var _scrollBar = new ScrollBarView (treeViewFiles, true);
_scrollBar.ChangedPosition += () => {