gpui-component/crates/ui/src
Jason Lee fbbb985e84
ui: Improve UI details (Modal, Checkbox, Radio and MenuItem) (#233)
- modal: Reduce modal title line height.
- checkbox, radio: Fix label line height to align with checkbox.
- menu: Update Menu item style, height to 28px, and fix divider padding.

<img width="523" alt="image"
src="https://github.com/user-attachments/assets/c254dc07-9d37-4885-b687-58ec4d8e95a4">

<img width="453" alt="image"
src="https://github.com/user-attachments/assets/3ad44419-1953-4048-8173-4d8c0646777a">

<img width="369" alt="image"
src="https://github.com/user-attachments/assets/84d23eb2-15f9-47d7-b6d4-15295ab3a544">
2024-09-10 19:42:54 +08:00
..
dock Update register_panel to use trait object Fn. (#229) 2024-09-09 19:19:27 +08:00
input Update GPUI and fix Input API changes. (#193) 2024-08-31 23:17:14 +08:00
list Add search to List example. (#168) 2024-08-19 16:13:14 +08:00
resizable Add to support dump/load Dock layout. (#226) 2024-09-09 13:30:22 +08:00
scroll Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
tab Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
time Use small size for calendar month item to fixed content overflow (#231) 2024-09-10 00:16:31 +08:00
animation.rs Add exit animation to Notification. 2024-08-30 11:24:55 +08:00
button.rs Add ButtonGroup (#221) 2024-09-06 10:32:10 +08:00
button_group.rs Add ButtonGroup (#221) 2024-09-06 10:32:10 +08:00
checkbox.rs ui: Improve UI details (Modal, Checkbox, Radio and MenuItem) (#233) 2024-09-10 19:42:54 +08:00
clipboard.rs Upgrade GPUI. (#173) 2024-08-23 18:43:26 +08:00
color_picker.rs Fix bugs (#230) 2024-09-09 22:05:02 +08:00
colors.rs Correcting shacn to shadcn to uniformly use shadcn ui names (#210) 2024-09-03 23:31:34 +08:00
context_menu.rs Improve popup snap to window with margin. (#225) 2024-09-07 11:50:38 +08:00
divider.rs Fix bugs (#230) 2024-09-09 22:05:02 +08:00
drawer.rs Fix drawer position (#174) 2024-08-23 22:01:52 +08:00
dropdown.rs modal: Add to support open multiple Modals. (#232) 2024-09-10 16:58:22 +08:00
event.rs Do not preset padding when input with affix (#70) 2024-07-25 11:02:04 +08:00
focusable.rs Improve focus (#14) 2024-07-04 14:05:14 +08:00
history.rs Extract History to a common design to support more cases. (#162) 2024-08-16 17:04:11 +08:00
icon.rs Add ColorPicker (#199) 2024-09-02 00:21:01 +08:00
indicator.rs Add Sizable trait to impl small, xsmall, large and apply to Button, Input, Dropdown, Switch. (#113) 2024-08-06 17:19:54 +08:00
label.rs Cleanup first version impls (#132) 2024-08-11 14:46:55 +08:00
lib.rs modal: Add to support open multiple Modals. (#232) 2024-09-10 16:58:22 +08:00
link.rs Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
modal.rs ui: Improve UI details (Modal, Checkbox, Radio and MenuItem) (#233) 2024-09-10 19:42:54 +08:00
notification.rs Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
popover.rs Improve popup snap to window with margin. (#225) 2024-09-07 11:50:38 +08:00
popup_menu.rs ui: Improve UI details (Modal, Checkbox, Radio and MenuItem) (#233) 2024-09-10 19:42:54 +08:00
prelude.rs
progress.rs Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
radio.rs ui: Improve UI details (Modal, Checkbox, Radio and MenuItem) (#233) 2024-09-10 19:42:54 +08:00
root.rs modal: Add to support open multiple Modals. (#232) 2024-09-10 16:58:22 +08:00
skeleton.rs Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
slider.rs Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
styled.rs Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
svg_img.rs Upgrade GPUI. (#173) 2024-08-23 18:43:26 +08:00
switch.rs Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
tab.rs
table.rs Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
theme.rs dock: Improve drop target style and size to 35%. (#217) 2024-09-04 22:01:09 +08:00
tooltip.rs Fix tooltip padding. (#198) 2024-09-01 21:58:50 +08:00
webview.rs Update WebView to pass wry::WebView instance (#69) 2024-07-24 19:32:05 +08:00