Commit graph

75 commits

Author SHA1 Message Date
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
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
Michael Aaron Murphy
16c1265535
improv(segmented-button): set icons with impl Into<Icon> 2024-05-20 00:59:40 +02: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
78e331d5ed fix(segmented-button): misaligned icon when text is empty 2024-04-09 21:22:17 +02:00
Ashley Wulber
d625291266 feat: dnd for segmented buttons and nav 2024-04-09 21:21:38 +02:00
Michael Aaron Murphy
2b23005fbf fix(segmented_button): hidden new tab button on shrink 2024-03-08 15:18:47 +01:00
Michael Aaron Murphy
26a7e6b0f9 fix(segmented_button): invalid tab offset when width is reduced by nav bar 2024-03-08 15:18:47 +01:00
Michael Aaron Murphy
2ccd3682b4 feat(segmented-button): add maximum_button_width property 2024-03-08 15:18:47 +01:00
Michael Aaron Murphy
d704d90e92 fix(segmented_button): adjust layout and drawing to designs 2024-03-08 15:18:47 +01:00
Michael Aaron Murphy
b3915a9bbc perf(segmented_button): recreate paragraph only when text changes 2024-03-08 15:18:47 +01:00
Michael Aaron Murphy
9eeaf816dc
chore(semgented_button): fix linter warnings 2024-02-27 18:31:28 +01:00
Michael Aaron Murphy
ff9438c5ba refactor!(widget): rename view_switcher to tab_bar to match Figma docs 2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
bfc84c4759 refactor!(widget): rename segmented_selection to segmented_control to match Figma docs 2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
366a450977 improv(segmented_button): rework layout, drawing, and styling to fix visual flaws 2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
6adc037f40 feat(segmented_button): add scrollable_focus to toggle focus scrolling 2024-02-12 18:16:54 +01:00
Ashley Wulber
072a3d5ca0 feat: lower the opacity of colors used in the segmented button when disabled
This is needed for the new tiling applet. Transparent text only seems to be working with the wgpu feature at the moment
2024-02-12 11:55:27 +01:00
Ashley Wulber
5530ac3254 fix: typo in resolve for segmented button 2024-02-08 07:45:03 -05:00
Ashley Wulber
e778782328 fix: layout fixes for nav bar 2024-02-06 11:28:27 -05:00
Ashley Wulber
dbcd927d4b various fixes 2024-02-06 11:28:27 -05:00
Ashley Wulber
f4ad098647 wip: update to use latest iced 2024-02-06 11:28:27 -05:00
Jeremy Soller
1291a48d4d
Set MSRV to 1.71 2024-01-29 09:43:06 -07:00
Michael Aaron Murphy
213ede371b
fix(segmented_button): misaligned next tab button 2024-01-27 02:38:33 +01:00
Michael Aaron Murphy
135770a16d fix(segmented_button): hoverable tab pagination buttons; fixed padding 2024-01-26 23:34:07 +01:00
Michael Aaron Murphy
d5b2a2e87c feat(segmented_button): variable-width horizontal button when width is Shrink 2024-01-26 16:39:48 +01:00
Michael Aaron Murphy
d6e23fe977
fix(segmented_button): text bounds off when an icon is used 2024-01-23 22:40:12 +01:00
Michael Aaron Murphy
ca92049ab6 feat(segmented_button): paginate tabs when width is too narrow 2024-01-23 22:09:11 +01:00
Michael Aaron Murphy
05f8ffeef1 fix(segmented_button): clip text that overlaps with close button 2024-01-23 22:09:11 +01:00
Michael Aaron Murphy
bb8be4e3d5 feat(segmented_button): use scroll wheel to switch between tabs 2024-01-22 16:48:18 +01:00
Michael Aaron Murphy
25eea464b9 feat(segmented_button): close tab on middle click 2024-01-22 16:48:18 +01:00
Ashley Wulber
310064ca1d refactor: use theme corner radii everywhere
not all values matched a default value but I picked the next closest in that case
2023-12-13 13:10:39 -05:00
Ashley Wulber
fcfe9ebc59 chore: update iced 2023-12-04 17:53:24 -05:00
Ashley Wulber
17bc373990 clippy fixes 2023-12-04 17:53:24 -05:00
Ashley Wulber
9202383596 chore: update to 0.12 2023-12-04 17:53:24 -05:00
danieleades
8e99406a8b
chore: fixing linter warnings 2023-11-28 20:02:08 +01:00
Jeremy Soller
2df8cb8862 Allow segmented buttons to be indented 2023-11-16 08:06:07 -07:00
Ashley Wulber
70077ca985 feat: color picker 2023-10-02 10:24:43 -04:00
Michael Aaron Murphy
8f9fde7fe8 fix(widget): set SegmentedButton icon color to be same as text 2023-09-19 17:22:20 +02:00
Michael Aaron Murphy
48fd076cc8 fix(segmented-button): disappearance of icons from bad layout values 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
9dbc1be269 refactor(widget): improvements to button and icon widgets 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
4e4eeaac12 feat!(widget): rewrite button & icon widget APIs 2023-09-14 01:38:56 +02:00
Ashley Wulber
6457481ae5 fix: text input layout & cargo fmt 2023-08-24 15:44:29 -04:00
Ashley Wulber
69da283aeb update iced 2023-08-21 15:47:01 -04:00
Michael Aaron Murphy
a8ce524baa refactor: combine open and save dialogs 2023-08-16 16:59:15 +02:00
Ashley Wulber
598bfaa611 feat: icon default fallbacks 2023-07-07 16:58:21 -04:00