Page MenuHome

Panel show Triangle
Closed, ArchivedPublicPATCH

Description

Hi.

I made a patch to make the triangle icon on the UI panels optional.
The option is displayed in User_Preferences, Interface.

This doesnt affect the UI nodes triangle, just the panels of the UI.
Panels can be opened by pressing the whole header, so the triangle is not required visually.
So this is a patch to make the draw code optional.

Patch was made after reading this topic:
http://blenderartists.org/forum/showthread.php?298335-Properties-Panels

koil

Event Timeline

koil (koilz) edited a custom field.Jul 1 2013, 5:59 AM
koil (koilz) attached 1 file(s): F25987: triangle.diff.

Fixed patch typo: triangle2.diff

Hi.

I made a new patch.

This adds the show_triangle property to:
bTheme->ThemeUI->panel_show_triangle.
User_Preferences->Themes->User_Interface->Panel:->Show_Triangle.

I added a short doc of changes + screenshot.
http://wiki.blender.org/index.php/User:Koilz/2.67.1_Patch_-_pp_tri

The patch was tested on 2.67b r58051 with patch.exe for windows.

When the patch is implemented, the theme.xml files will have to be updated.

When the patch is implemented, the init_userdef_do_versions(void) code in resources.c.
The version number should be 1 sub version higher than the implemented version, i think.

Attached: pp_tri.txt
To apply: "patch.exe -p 0 -i pp_tri.txt"
To reverse: "patch.exe -p 0 -i pp_tri.txt -R"

koil (koilz) attached 1 file(s): F25996: pp_ta2.PNG.

Attached: pp_ta.txt
Attached: pp_ta2.PNG

This adds 'Show Triangle' and 'Align Header Label' to:
User_Preferences: Theme: User_Interface: Panel.

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Unknown Status.Mar 18 2015, 4:37 PM

These kinds of minor changes we can make any time, but its not really improving usability.

closing.