LayoutPanel: Switch to using the ToolsPanel #44560
Labels
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
[Feature] Layout
Layout block support, its UI controls, and style output.
[Type] Enhancement
A suggestion for improvement.
This issue is to propose / track progress on switching the
LayoutPanel
used by the layout block support over to using theToolsPanel
instead ofPanelBody
.As new controls are added to the
LayoutPanel
, the area of the layout panel within the inspector controls increases, and there will likely be many blocks for which new controls should be hidden by default. As with the Typography (#33744) and Dimensions (#32392) panels previously, switching over to theToolsPanel
will allow blocks to define which layout controls to display by default.For reference, here are screenshots of the Typography panel next to the Layout panel:
(only font size is displayed by default)
It's been mentioned a few times on other Github issues (e.g. recently by @jasmussen here: #35849 (comment)), so I thought this issue could be a useful place for looking at that task in isolation.
There are related earlier discussions about overhauling the panel and what gets included in it (e.g. #34698), however for the purposes of this issue, the task is to keep all the controls as-is for the moment, but refactor to the
ToolsPanel
so that in separate tasks, the decision of what goes where can be made.The text was updated successfully, but these errors were encountered: