Blender Git Commit Log

Git Commits -> Revision 8b8fdcc

April 13, 2021, 17:00 (GMT)
Asset View: Always show all poses, avoid double-scrollbar

The asset view so far showed up to 5 items by default. If there were
more assets to be shown than that, it the list would become scrollable.
This would cause a scrollable box inside a scrollable region, which is
not nice for interaction. We can just expand the list so all assets are
in the layout, and the user can scroll the region rather than scrolling
the list.

Also hide the "grip" button so the list can't be resized. If needed we
could allow making the list smaller still, even if that causes double
scrolling again. For now keeping it simple.
Had to add a "no grip" option for that, so I changed the signature a bit
to avoid too many boolean arguments.

And another also: Adds missing return after error check.

Commit Details:

Full Hash: 8b8fdcc6d5fb55dbeec7ac1eff722fd906ee9d7e
Parent Commit: 9d8dc94
Lines Changed: +128, -53

8 Modified Paths:

/source/blender/editors/asset/asset_list.cc (+22, -0) (Diff)
/source/blender/editors/include/ED_asset.h (+1, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+9, -4) (Diff)
/source/blender/editors/interface/interface_templates.c (+48, -39) (Diff)
/source/blender/editors/interface/interface_template_asset_view.cc (+4, -3) (Diff)
/source/blender/editors/space_node/drawnode.c (+2, -4) (Diff)
/source/blender/editors/space_node/node_buttons.c (+1, -2) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+41, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021