gpui-component/crates/ui/src
xda 2706656e27
resizable: Keep the ratio when adjust widths (rather than falling back to 33.33% when resizing back) (#329)
The essence of the problem is that flex_basis initial_size and
flex_basis size are in conflict: the size overwrites the initial_size
percentage and loses the original percentage in extremely narrow parent
groups, so we have to add the field to the state persisting the desired
percentage.

Fix #262

![2024-10-10 19 35
17](https://github.com/user-attachments/assets/3d06954d-8589-4e12-8c0e-897b0b38cbc5)
2024-10-10 18:50:46 +08:00
..
dock dock: Fix zoom support for side dock panel. (#327) 2024-10-10 15:16:16 +08:00
input input: Move caret to line start or end with selected content (#288) 2024-10-02 17:35:27 +08:00
list menu: Add scrollable support to menu. (#310) 2024-10-04 14:24:05 +08:00
resizable resizable: Keep the ratio when adjust widths (rather than falling back to 33.33% when resizing back) (#329) 2024-10-10 18:50:46 +08:00
scroll menu: Fix Menu scrollbar will always showing bug. (#328) 2024-10-10 18:10:28 +08:00
tab menu: Add scrollable support to menu. (#310) 2024-10-04 14:24:05 +08:00
time feat(button): Remove track_focus (#282) 2024-09-27 14:39:48 +08:00
animation.rs Add exit animation to Notification. 2024-08-30 11:24:55 +08:00
button.rs menu: Add scrollable support to menu. (#310) 2024-10-04 14:24:05 +08:00
button_group.rs button: Improve ButtonGroup to add style, size methods. (#241) 2024-09-13 12:00:47 +08:00
checkbox.rs menu: Add scrollable support to menu. (#310) 2024-10-04 14:24:05 +08:00
clipboard.rs feat(button): Remove track_focus (#282) 2024-09-27 14:39:48 +08:00
color_picker.rs modal: Only focus modal when it not focused on. (#250) 2024-09-17 18:48:06 +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 menu: Blocking mouse move event to back view, when PopupMenu has open. (#277) 2024-09-26 21:38:52 +08:00
divider.rs Fix bugs (#230) 2024-09-09 22:05:02 +08:00
drawer.rs feat(button): Remove track_focus (#282) 2024-09-27 14:39:48 +08:00
dropdown.rs theme: Add shadow option to support toggle shadow for base controls, default: true. (#268) 2024-09-24 10:52:01 +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 dock: Add left, bottom, right fixed dock and support toggle. (#291) 2024-10-02 17:42:52 +08:00
indicator.rs feat(indicator): Update icon type (#280) 2024-09-27 11:58:14 +08:00
label.rs Cleanup first version impls (#132) 2024-08-11 14:46:55 +08:00
lib.rs theme: Simplify init (#237) 2024-09-12 16:14:41 +08:00
link.rs Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
modal.rs feat(button): Remove track_focus (#282) 2024-09-27 14:39:48 +08:00
notification.rs feat(button): Remove track_focus (#282) 2024-09-27 14:39:48 +08:00
popover.rs menu: Add scrollable support to menu. (#310) 2024-10-04 14:24:05 +08:00
popup_menu.rs menu: Fix Menu scrollbar will always showing bug. (#328) 2024-10-10 18:10:28 +08:00
prelude.rs Add Popover (#6) 2024-06-29 10:03:59 +08:00
progress.rs Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
radio.rs Try fix Button, Checkbox, Radio text line-height (#240) 2024-09-16 10:36:18 +08:00
root.rs modal: Only focus modal when it not focused on. (#250) 2024-09-17 18:48:06 +08:00
skeleton.rs Update GPUI and apply opacity feature. (#215) 2024-09-04 19:29:51 +08:00
slider.rs theme: Add shadow option to support toggle shadow for base controls, default: true. (#268) 2024-09-24 10:52:01 +08:00
styled.rs Add col_padding to Table delegate to control the column padding. (#326) 2024-10-10 13:58:49 +08:00
svg_img.rs Upgrade GPUI. (#173) 2024-08-23 18:43:26 +08:00
switch.rs Deduplicate Switch animations (#287) 2024-09-29 20:21:56 +08:00
tab.rs Add TabBar 2024-06-25 19:07:05 +08:00
table.rs Add col_padding to Table delegate to control the column padding. (#326) 2024-10-10 13:58:49 +08:00
theme.rs table: Set fixed height to table head to fix some case table head disappear bug. (#300) 2024-10-03 10:14:44 +08:00
tooltip.rs tooltip: Fix Tooltip text line-height. (#304) 2024-10-03 18:01:56 +08:00
webview.rs story: Fix invalid focus code cause PopupStory Input cannot input anything. (#325) 2024-10-09 15:08:18 +08:00