Ashley Wulber
33eec39268
fix: border artifacts in button and input
2024-06-15 22:04:42 +02:00
Ashley Wulber
d138232655
text input always_active field & ids
2024-06-13 14:18:46 -04:00
Ashley Wulber
d2b3531984
fix: persist selected action on entity change
2024-06-12 14:54:45 -04:00
Ashley Wulber
98231fa99a
fix: avoid completely clearing DnD state.
...
Motion sometimes will make the dnd miss a target entity, so instead we track that no entity is hovered for the ongoing DnD, instead of clearing the DnD state.
2024-06-12 13:06:04 -04:00
Michael Aaron Murphy
9bb89fefca
fix(segmented-button): fix tab navigation with vertical layout
2024-06-07 11:14:52 +02:00
Ashley Wulber
173ddca60f
fix: refactor dnd impl to support responsive widget
2024-05-31 19:14:58 -04:00
Ashley Wulber
85c925241e
fix: use tree diff
2024-05-30 16:57:51 -04:00
Ashley Wulber
72db8a013b
feat: add id_container
2024-05-30 16:57:51 -04:00
Michael Aaron Murphy
af58d81c6f
fix: use spacing of 2 when header density is compact
2024-05-30 22:00:48 +02:00
Ashley Wulber
b937a30050
fix: export menu_button
2024-05-30 19:55:16 +02:00
Michael Aaron Murphy
bd48ad0fb5
fix(menu): use icons and fix misaligned button labels
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
3a8cbec6ae
improv(icon): remove static lifetime restriction from messages
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
095c2b5336
feat(widget/settings): add flex items and flex controls
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
cb6bc86e1e
feat(flex-row): align_items, justify_items, justify_content, and min_item_width
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
289db87373
improv(grid): add justify_content and fix padding
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
463e07ec4b
feat(widget): re-export text_editor from iced
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
b7cb1b31ff
feat(widget): re-export canvas widget from iced
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
7a6421a3e2
feat(flex-row): add justify_content method
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
1bc3012165
improv(flex-row): add spacing method to set row and column spacing
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
4d8c906c56
improv(flex-row): rewrite layout with taffy
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
c39fd5103f
fix(grid): use content_size as size of widget's root node
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
057ee5f086
feat(headerbar): add field to configure density
2024-05-29 06:25:15 -06:00
Michael Aaron Murphy
6720b8277c
feat: CosmicTk::header_size density config
2024-05-29 06:25:15 -06:00
Michael Aaron Murphy
375a2d127b
chore(button): remove unused import
2024-05-28 15:31:34 +02:00
Michael Aaron Murphy
d559403f7f
fix(image-button): fix rendering on wgpu
2024-05-28 09:04:07 +02:00
Eduardo Flores
9ce3a51728
fix: text input attempting to subtract with overflow
2024-05-21 06:56:15 -04:00
Michael Aaron Murphy
752662eedf
chore: ignore doc tests for widget module
2024-05-21 04:36:32 +02:00
Michael Aaron Murphy
f9f8eb51cb
fix(menu_bar): root text will inherit icon color from header
2024-05-21 04:34:35 +02:00
Michael Aaron Murphy
f4936344f0
chore(doc): add documentation for a handful of widgets
2024-05-20 20:01:47 +02:00
Michael Aaron Murphy
0d4c3db162
chore(doc): inline re-exported API docs
2024-05-20 17:19:42 +02:00
Michael Aaron Murphy
16c1265535
improv(segmented-button): set icons with impl Into<Icon>
2024-05-20 00:59:40 +02:00
Michael Aaron Murphy
31ea71deef
refactor(menu): remove redundant entity argument on MenuActions
2024-05-20 00:50:17 +02:00
Michael Aaron Murphy
b3bce0740e
refactor(menu): add menu::bar as shorthand for MenuBar::new
2024-05-20 00:45:26 +02:00
Ashley Wulber
2af549f5b1
feat(button): on_press_down
2024-05-18 03:07:42 +02:00
Ashley Wulber
1ae9dae4cb
fix(text_input): the trailing icon should always receive input
2024-05-17 22:28:57 +02:00
Michael Aaron Murphy
9292ea647b
feat: inactive window header icon/text colors
2024-05-17 20:58:38 +02:00
Michael Aaron Murphy
1355588723
improv(button): specialize button for cosmic, and apply alpha to header buttons
2024-05-17 20:58:38 +02:00
Ashley Wulber
11a73354ca
fix(text-input): avoid jumping to start of text as cursor blinks, and clipping text inside the input
2024-05-17 01:23:06 +02:00
Ashley Wulber
84d77281cb
fix: context-drawer border & radius
2024-05-13 20:00:34 +02:00
Ashley Wulber
05a9e7639f
feat: update the headerbar to match figma
...
i don't think the alpha is actually working for the icon, but the color should match
2024-05-13 11:22:59 -04:00
Ashley Wulber
7a964772c2
cargo fmt
2024-05-01 11:52:07 -06:00
Ian Douglas Scott
2ebf7e8e0a
Update text_input widget for iced_sctk drag-and-drop change
2024-04-30 16:17:07 -07:00
Michael Aaron Murphy
e556148942
fix(context-drawer): close button should use link button style
2024-04-26 17:00:24 +02:00
Michael Aaron Murphy
8c8dbd1420
fix(text_input): inherit text and icon colors from container
2024-04-26 17:00:24 +02:00
Jeremy Soller
d138c86a11
nav_bar: allow setting close_icon and on_close
2024-04-25 20:18:56 -06:00
Michael Aaron Murphy
9ffb87d21f
feat(context_menu): add a context menu widget as menu tree alternative to the popover widget
2024-04-22 17:25:05 +02:00
Michael Aaron Murphy
c0b653f506
fix(segmented-button): crash when context menu is unassigned
2024-04-19 11:20:20 +02:00
Michael Aaron Murphy
59a913c15d
feat!(segmented_button): Add context menu support and integrations
2024-04-18 17:18:53 +02:00
Michael Aaron Murphy
2bfdc09a43
fix(popover): add modal property for dialogs
...
Fixes quirks with the context drawer and dialogs
2024-04-11 23:03:59 +02:00
Michael Aaron Murphy
c6ab6cfe23
fix(editable_input): disable edit mode when widget loses focus
2024-04-11 23:03:34 +02:00