Skip to content

[Shape Tool] Adds overridable BuildToolSpecificToolbar method#2107

Open
pedropaulosuzuki wants to merge 4 commits intoPintaProject:masterfrom
pedropaulosuzuki:rounded-rectangle-toolbar
Open

[Shape Tool] Adds overridable BuildToolSpecificToolbar method#2107
pedropaulosuzuki wants to merge 4 commits intoPintaProject:masterfrom
pedropaulosuzuki:rounded-rectangle-toolbar

Conversation

@pedropaulosuzuki
Copy link
Copy Markdown
Contributor

The idea is to allow shape tools to include toolbar items before the stroke controls, which can disappear and would behave better when at the end of the toolbar. One example is the Rounded Rectangle tool, that now has the Radius property right at the start, but just after the Shape Type dropdown.

I thought about only making the Stroke/Dash settings separate, but that would mean all implementations would have to call it anyway, so an optional overridable method seemed like a better choice.

Also fixes the Separator in the Freeform Shape Tool.

Closes #2012.

The idea is to allow shape tools to include toolbar items before the stroke controls, which can disappear and would behave better when at the end of the toolbar.
This uses the BuildToolSpecificToolbar override, instead of overriding the base HandleBuildToolBar method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Shape tools] Brush width should be hidden when Fill Style is set to "Fill Shape"

1 participant