Files
openide/platform/editor-ui-api
Sergei Tachenov fbdc860159 IJPL-161797 Implement the new toolbar compressing layout strategy
The new strategy no longer relies on the parent.
It works strictly top-to-bottom, looking inside child toolbars
for resizable components.

To make it work with the main toolbar, which isn't an ActionToolbar
itself, but a regular panel, its layout, HorizontalLayout, had to be
modified to accept an external function for calculating preferred sizes.

The new strategy first collects all resizable components, including
deeply nested ones, and then distributes the available size between them.
Then calculating the sizes of toolbars and their components becomes trivial.

GitOrigin-RevId: d11c47f010169b9175340ed9f0005822ddc4c346
2024-10-08 11:02:42 +00:00
..
2024-10-04 21:20:21 +00:00
2024-09-27 13:47:17 +00:00