-
Notifications
You must be signed in to change notification settings - Fork 4.8k
LayoutPanel: Switch to using the ToolsPanel #44560
Copy link
Copy link
Open
Labels
[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Feature] LayoutLayout block support, its UI controls, and style output.Layout block support, its UI controls, and style output.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Metadata
Metadata
Assignees
Labels
[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Feature] LayoutLayout block support, its UI controls, and style output.Layout block support, its UI controls, and style output.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This issue is to propose / track progress on switching the
LayoutPanelused by the layout block support over to using theToolsPanelinstead 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 theToolsPanelwill 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
ToolsPanelso that in separate tasks, the decision of what goes where can be made.