Jason Lee
|
966ce4c2dd
|
Add link, link_with_icon to PopupMenu, and remove track_focus. (#121)
- Add `popup_menu` quick API to Button to let easy to use.
|
2024-08-08 19:50:10 +08:00 |
|
Jason Lee
|
827f57fb6a
|
Add Sizable trait to impl small, xsmall, large and apply to Button, Input, Dropdown, Switch. (#113)
|
2024-08-06 17:19:54 +08:00 |
|
Jason Lee
|
a5989f6a7c
|
Improve PopupMenu style (#108)
<img width="216" alt="image"
src="https://github.com/user-attachments/assets/9dcfd30f-62cc-41ff-a97d-f69b79bd997c">
<img width="346" alt="image"
src="https://github.com/user-attachments/assets/c7e564e9-c0f9-4282-9df1-9c2cd92efea9">
|
2024-08-05 21:23:57 +08:00 |
|
Jason Lee
|
4b61c3c25a
|
Add ContextMenu (#107)
https://github.com/user-attachments/assets/1534bb31-1d32-40b8-8871-f41fb182c8e9
|
2024-08-05 20:54:07 +08:00 |
|
Jason Lee
|
4a5b387b40
|
Fix mistake unwrap in PopupMenu.
|
2024-08-01 15:43:21 +08:00 |
|
Jason Lee
|
3dd149e711
|
Update PopupMenu to support checked style. (#96)
<img width="256" alt="image"
src="https://github.com/user-attachments/assets/87009870-e426-48e5-9860-ba91b4702ea4">
|
2024-08-01 15:41:00 +08:00 |
|
Jason Lee
|
59603ab83b
|
Add min_w, max_w to PopupMenu, and default min_w: 120, max_w: 500
|
2024-07-15 09:15:12 +08:00 |
|
Floyd Wang
|
e1aed0a03d
|
Add Progress (#21)
|
2024-07-11 19:10:46 +08:00 |
|
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 |
|
Jason Lee
|
ac789b2379
|
Add Table (#16)
https://github.com/huacnlee/gpui-component/assets/5518/8603cbcc-c416-4d10-84a0-8cfe2e021e1a
|
2024-07-06 21:01:16 +08:00 |
|
Jason Lee
|
acbc029eed
|
Add PopupMenu (#15)

|
2024-07-05 00:04:34 +08:00 |
|