mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fix size in the scenario.
This commit is contained in:
@@ -79,9 +79,9 @@ namespace UICatalog.Scenarios {
|
||||
};
|
||||
|
||||
_listView.DrawContent += (e) => {
|
||||
_scrollBar.Size = _listView.Source.Count - 1;
|
||||
_scrollBar.Size = _listView.Source.Count;
|
||||
_scrollBar.Position = _listView.TopItem;
|
||||
_scrollBar.OtherScrollBarView.Size = _listView.Maxlength - 1;
|
||||
_scrollBar.OtherScrollBarView.Size = _listView.Maxlength;
|
||||
_scrollBar.OtherScrollBarView.Position = _listView.LeftItem;
|
||||
_scrollBar.Refresh ();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user