english Sivu saatavilla vain englanninkielisenä.

Blender Git Statistics -> Branches -> temp-checkbox-layout-tweaks

"Temp-checkbox-layout-tweaks" branch

Total commits : 63
Total committers : 3
First Commit : April 7, 2020
Latest Commit : April 17, 2020


Commits by Date

DateNumber of Commits
April 17, 20206
April 16, 20205
April 15, 20200
April 14, 20207
April 13, 20207
April 12, 20209
April 11, 20209
April 10, 20205
April 9, 20202
April 8, 202012
April 7, 20201

Committers

AuthorNumber of Commits
Julian Eisel37
William Reynish24
Julian Eisel2

Popular Files

FilenameTotal Edits
interface_layout.c14
space_view3d_toolbar.py9
UI_interface.h8
interface_widgets.c6
space_sequencer.py5
rna_ui_api.c5
space_userpref.py5
properties_data_mesh.py5
properties_object.py4
properties_paint_common.py4

Latest commits Feed

April 17, 2020, 11:03 (GMT)
Merge branch 'temp-checkbox-layout-tweaks-apply' into temp-checkbox-layout-tweaks
April 17, 2020, 11:02 (GMT)
Merge branch 'temp-checkbox-layout-tweaks-patch' into temp-checkbox-layout-tweaks-apply
April 17, 2020, 10:49 (GMT)
Don't compare decorator button against itself
April 17, 2020, 10:46 (GMT)
Merge branch 'temp-checkbox-layout-tweaks-patch' into temp-checkbox-layout-tweaks-apply
April 17, 2020, 10:46 (GMT)
Merge branch 'temp-checkbox-layout-tweaks-patch' into temp-checkbox-layout-tweaks
April 17, 2020, 10:45 (GMT)
Fix inconsistent checkbox text padding with different DPIs
April 16, 2020, 19:27 (GMT)
Fix expanded enums using columns within split layout
April 16, 2020, 19:26 (GMT)
Fix expanded enums using columns within split layout
April 16, 2020, 19:03 (GMT)
Merge branch 'temp-checkbox-layout-tweaks-patch' into temp-checkbox-layout-tweaks-apply
April 16, 2020, 19:02 (GMT)
Merge branch 'temp-checkbox-layout-tweaks-patch' into temp-checkbox-layout-tweaks
April 16, 2020, 19:02 (GMT)
Merge branch 'master' into temp-checkbox-layout-tweaks-patch
April 14, 2020, 17:24 (GMT)
UI: Layout changes for new checkbox layout possibilities

Follow-up to D7427.

Screenshots:
[TODO]

Main changes:
* Changes the split percentage from 50/50% to 40/60%.
* ... [TODO]

Most changes here are by @billreynish.

Maniphest Tasks: T65965

Differential Revision: https://developer.blender.org/D7430
April 14, 2020, 16:56 (GMT)
UI: Better split layout support for checkboxes

Makes these kinds of layouts possible:

Best test this in the `temp-checkbox-changes` branch which contains layout
tweaks all over to make good use of the changes here. These will be submitted
separately.
Patch on top of D7409.

Main changes:
* Add support for row and column headers (i.e.
`uiLayout.column(heading="Foo")`, `uiLayout.row(heading="Bar")). If the
first property added to this layout doesn't insert anything into the label
split column, the heading is inserted there. Otherwise, it's inserted as own
item.
* Add support for manually inserting decorators for an existing item
(`uiLayout.prop_decorator()`). That way layout creators can manually insert
this, which was the only way I saw to support these layouts:
* Autogenerated layouts for operator properties look bad if there are only
checkboxes (which only use half the region width). So before creating the
layout, we iterate over visible properties and disable split layout if all
are booleans. I think this is fine, if needed we could also add layout hints
to operators.
* `uiTemplateOperatorPropertyButs()` now handles macros itself, the caller
used to be responsible for this. Code that didn't handle these so far never
used macros I think, so this change should be visible.
* Remove manual property split layout from autogenerated operator properties
layout.
* Padding of checkboxes is tweaked to make their label visually more connected
to the checkboxes.
* Support split layout for menus (should work for `uiLayout.menu()`,
`.operator_menu_enum()`, `.prop_menu_enum()`, maybe more)
* Add `uiLayout.`

Maniphest Task: T65965

Reviewers: brecht pablovazquez billreynish
April 14, 2020, 15:32 (GMT)
Cleanup: PEP8 for python changes
April 14, 2020, 15:27 (GMT)
Merge branch 'master' into temp-node-socket-buttons
April 14, 2020, 15:26 (GMT)
Cleanup: PEP8 for python changes
April 14, 2020, 14:32 (GMT)
Merge branch 'master' into temp-checkbox-layout-tweaks
April 14, 2020, 12:39 (GMT)
Don't use split layout for operator properties if all are checkboxes

Having a split layout looks broken if all items are checkboxes and there
is no heading text, because it only uses half the width then.
So this checks if all visible properties are booleans and if so,
disables the split layout. A bit hacky but this should generally work.
If needed we can add more control in future (e.g. default layout hints
for operators).
April 13, 2020, 16:22 (GMT)
Support using property split for menu items & use for output FPS setting

We could add an extra parameter for the label string, for now we can
just use the headings. So if a layout heading is available (set and not
already added) use that to enable the split layout.
April 13, 2020, 15:36 (GMT)
Merge branch 'temp-node-socket-buttons' into temp-checkbox-layout-tweaks

MiikaHweb - Blender Git Statistics v1.06
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021