[Gambas-Notification] [Git][gambas/gambas][master] Allows GridView automatic scrolling behaviour to be overriden easily.

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Fri Oct 22 23:03:18 CEST 2021



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
6322a874 by gambas at 2021-10-22T23:03:10+02:00
Allows GridView automatic scrolling behaviour to be overriden easily.

[GB.GUI.BASE]
* NEW: ScrollArea: The EnsureVisible() method now takes an extra optional argument, that tells which scroll direction is allowed.
* NEW: GridView: GridView.Rows[].EnsureVisible() is a new method that ensures that a specific row is visible by scrolling vertically only.
* NEW: GridView: GridView.Columns[].EnsureVisible() is a new method that ensures that a specific column is visible by scrolling horizontally only.
* NEW: TreeView: Automatic scrolling on item change is now vertical only.

- - - - -


7 changed files:

- comp/src/gb.gui.base/.project
- comp/src/gb.gui.base/.src/GridView/GridView.class
- comp/src/gb.gui.base/.src/GridView/_GridView_Column.class
- comp/src/gb.gui.base/.src/GridView/_GridView_Row.class
- comp/src/gb.gui.base/.src/GridView/_GridView_Rows.class
- comp/src/gb.gui.base/.src/ScrollArea.class
- comp/src/gb.gui.base/.src/TreeView/_TreeView.class


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/6322a874c20fe3a31f21a8c6842ee8c56ef4b2bc

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/6322a874c20fe3a31f21a8c6842ee8c56ef4b2bc
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20211022/ceb44fc0/attachment.htm>


More information about the Notification mailing list