gpui-component/crates/story/src
Jason Lee eb43c78cea
Add to support open Popover as a child window. (#18)
## Goal

Change to let Popup elements open into a window, to make sure the Popup
windows, panels, menus render top than the WebView.

Then we can embed wry or other webview into GPUI.



https://github.com/huacnlee/gpui-component/assets/5518/ce005456-088f-4298-bf5d-2642cf96faff


----

This is also like other software, they are also used in child window to
render the menus, popups.

- https://github.com/huacnlee/gpui-component/pull/2
- https://github.com/zed-industries/zed/pull/13730

## Todos

- [x] Multiple display window position.
- [x] Windows transparent background. (No transparent, just render a
correct window border)
- [x] Disable window resize on Windows. 
- [ ] Handle Menu action.
- [x] Provided `popover` or `window` two mode to uses.
2024-07-11 16:20:26 +08:00
..
fixtures Add SvgImg to render svg, and with a Chart example (#13) 2024-07-03 19:09:59 +08:00
button_story.rs Add Table (#16) 2024-07-06 21:01:16 +08:00
checkbox_story.rs Update dock layout 2024-07-04 01:05:32 +08:00
dropdown_story.rs Move title_bar, util into workspace. 2024-07-01 23:51:47 +08:00
image_story.rs Add SvgImg to render svg, and with a Chart example (#13) 2024-07-03 19:09:59 +08:00
input_story.rs Add Table (#16) 2024-07-06 21:01:16 +08:00
lib.rs Add Table (#16) 2024-07-06 21:01:16 +08:00
list_story.rs Remove picker, add list instead. (#17) 2024-07-07 02:07:17 +08:00
picker_story.rs Avoid PickerStory clone vec. 2024-07-08 23:22:08 +08:00
popover_story.rs Add to support open Popover as a child window. (#18) 2024-07-11 16:20:26 +08:00
switch_story.rs Move title_bar, util into workspace. 2024-07-01 23:51:47 +08:00
table_story.rs Add Table (#16) 2024-07-06 21:01:16 +08:00
tooltip_story.rs Improve focus (#14) 2024-07-04 14:05:14 +08:00