Blender Git Commit Log

Git Commits -> Revision 9637e4e

May 11, 2018, 18:43 (GMT)
WIP: Quick hack to get Timeline header buttons to show up where we want them to

WARNING: Prototype code to test that the UI design idea works.

This is a nasty hack, as it uses hardcoded button sizes (extracted by hand from
a screenshot and tweaked), and used to adjust the scale_x of layout items used
to house the spacers-layouts.

(The non-hacky part of this the new "uiItemSpacer" widget. Eventually the layout
manager should be identifying these widgets and setting the sizes on them in using
a method similar to what we're doing here).

Commit Details:

Full Hash: 9637e4e65f1dba914eee80fa3b1fbe7b9c30f569
Parent Commit: f998bad
Lines Changed: +61, -28

4 Modified Paths:

/release/scripts/startup/bl_ui/space_time.py (+42, -27) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+15, -1) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021