mirror of
https://github.com/enso-org/enso.git
synced 2024-11-24 00:27:16 +03:00
8c504bd4b0
[ci no changelog needed] [Task link](https://www.pivotaltracker.com/story/show/182955595) This PR implements variable column widths in the new Grid View component. We need this feature to quickly implement various parts of the UI, including the breadcrumbs panel of the component browser. There are two ways to change the width of the specific column: 1. "From the outside", using the `set_column_width` endpoint of the Grid View 2. "From the inside", using the `override_column_width` endpoint of the EntryFrp. Both ways work similarly, but the latter is helpful for our breadcrumbs implementation, as it allows for entry to decide on the width of the column by its content. See the screencast with three grid views. The top-left one has every even column shrunk by GridView API. Every grid view has a second column extended by EntryFrp API. https://user-images.githubusercontent.com/6566674/185060985-7b7df076-c659-41fa-977a-22875493f8d4.mp4 |
||
---|---|---|
.. | ||
enso-formatter | ||
prettier | ||
rust-scripts | ||
src | ||
Cargo.toml | ||
paths.js |