Blender Git Commit Log
Git Commits -> Revision ab6c7ff
Revision ab6c7ff by Julian Eisel (master) October 29, 2018, 20:44 (GMT) |
UI: Vertical Properties Editor Tabs Moves the Properties editor context switching to a vertical tabs region. Design Task: T54951 Differential Revison: D3840 The tabs are regular widgets, unlike the 'old' toolshelf tabs. This means they give mouse hover feedback, have tooltips, support the right-click menu, etc. Also, when vertical screen space gets tight, the tabs can be scrolled, they don't shrink like the toolshelf ones. The tab region is slightly larger than the header. The tabs are scaled up accordingly. This makes them nicely readable. The header is quite empty now. As shown in T54951, we wanted to have a search button there. This should be added next. Implementation Notes: * Added a new region type, RGN_TYPE_NAVIGATION. * Having the tabs in a separate region allows scrolling of the tab-bar, unlike the toolshelf tabs. We might want to remove the scrollbars though. * Added a new region flag RGN_FLAG_PREFSIZE_OR_HIDDEN, to ensure the tab region is either hidden or has a fixed size. * Added some additional flags to support fine-tuning the layout in panel and layout code. * Bumps subversion. |
Commit Details:
Full Hash: ab6c7ff2ab1531f70b0f47f30f195fd2b1c14851
Parent Commit: ce14871
Lines Changed: +117, -13
16 Modified Paths:
/release/scripts/startup/bl_ui/space_properties.py (+17, -4) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+26, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+5, -1) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_panel.c (+1, -1) (Diff)
/source/blender/editors/interface/resources.c (+2, -0) (Diff)
/source/blender/editors/screen/area.c (+15, -4) (Diff)
/source/blender/editors/screen/screen_edit.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -0) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+31, -0) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+5, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+5, -0) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+26, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+5, -1) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_panel.c (+1, -1) (Diff)
/source/blender/editors/interface/resources.c (+2, -0) (Diff)
/source/blender/editors/screen/area.c (+15, -4) (Diff)
/source/blender/editors/screen/screen_edit.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -0) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+31, -0) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+5, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+5, -0) (Diff)