mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
Made 'LeaveLastRow' optional as new property in TableStyle
This commit is contained in:
@@ -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 += () => {
|
||||
|
||||
Reference in New Issue
Block a user