Commit graph

440 commits

Author SHA1 Message Date
Michael Aaron Murphy
9e344b15c3
fix: window controls on linux not clickable 2024-07-31 08:06:05 +02:00
wiiznokes
716b3dee56
feat: use cached window control icons on other OSes 2024-07-30 18:29:01 +02:00
Ashley Wulber
22138671b4 fix: keep the cursor at the end if it previously when diffing 2024-07-29 22:53:55 +02:00
Ashley Wulber
a5996b4e90 fix(toast): implement drag_destinations 2024-07-24 05:33:35 +02:00
leb-kuchen
8e67f3ce1c
feat(headerbar): double click to maximize 2024-07-23 11:58:55 +02:00
Michael Aaron Murphy
3d22fb8fe2
improv(toaster): actions accept closures 2024-07-22 17:48:17 +02:00
Michael Aaron Murphy
ece6edac8d
improv(toaster): API consistency improvements 2024-07-22 15:34:26 +02:00
Michael Aaron Murphy
1e5828e01c
improv: get window control icons from icon theme 2024-07-22 07:24:07 +02:00
Michael Aaron Murphy
5474232796 fix: widget unfocus on mouse click 2024-07-22 07:05:47 +02:00
Ashley Wulber
6f2c893cf5 feat: add overlay option to appearance for vertical icon button 2024-07-17 22:31:21 +02:00
Ashley Wulber
47dedfde74 fix: draw color picker handle on top of gradient 2024-07-17 22:26:13 +02:00
Jeremy Soller
a268a98311
fix(toast): match toast to design 2024-07-11 13:36:53 -06:00
Michael Aaron Murphy
76667418d8
fix(widget): toggler settings controls should not flex 2024-07-11 09:49:36 +02:00
Jeremy Soller
c9a2265ab1 Make text wrap configurable 2024-07-09 11:14:49 -06:00
Ashley Wulber
928b714d14 fix: toaster behind feature gate 2024-07-05 21:21:35 +02:00
wiiznokes
4da66f8cc0 fix: change message bound for toaster 2024-07-02 18:43:50 +02:00
wiiznokes
4449b29cc9
feat(widget): add toast widget 2024-07-02 17:55:38 +02:00
Jason Hansen
41d1f4a7cd
feat(segmented_button): add on_middle_press 2024-07-02 02:53:45 +02:00
Jason Hansen
bfbff0773a
fix(button): Closing tab with middle-click
Only close on middle button release if the middle button press event was on the same tab.
2024-07-01 21:18:48 +02:00
Ashley Wulber
2b7f0c55e1 cleanup: cargo fmt 2024-06-28 09:12:05 -06:00
Michael Aaron Murphy
5c6fa840f4
fix(text_input): set read_only to false when focusing editable_input 2024-06-27 15:48:06 +02:00
Michael Aaron Murphy
ff3e4423f9
feat(text_input): add select_on_focus field 2024-06-27 00:20:05 +02:00
Michael Aaron Murphy
7e30695c52
chore(menu): fix warnings about public visibility 2024-06-27 00:19:03 +02:00
Michael Aaron Murphy
bd84f1f07d
fix(inline_input): wrong colors for focused style 2024-06-20 14:00:25 +02:00
Michael Aaron Murphy
d8cb87cae7
fix(inline_input): add placeholder parameter 2024-06-20 13:45:46 +02:00
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