Commit graph

25 commits

Author SHA1 Message Date
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Jeremy Soller
93578816f9
fix(popover): clamp y position when on bottom 2024-10-07 10:32:33 -06:00
Jeremy Soller
05da0a83b2 fix(popover): implement overlay and remove use of refcell 2024-09-10 11:47:48 -06:00
Michael Aaron Murphy
a79ac361f1
feat(popover): add on_close message 2024-08-23 22:12:43 +02:00
Ashley Wulber
173ddca60f fix: refactor dnd impl to support responsive widget 2024-05-31 19:14:58 -04: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
0bf44a6f1f fix(popover): close popover when clicking outside of popover 2024-04-11 19:18:38 +02:00
Ashley Wulber
fa31f42cd8 fix: dnd 2024-04-04 18:47:06 -06:00
Jeremy Soller
a593f866ef
Set resize border for winit apps 2024-02-27 10:52:33 -07:00
Jeremy Soller
bc3e16619e
Fix popover bottom position 2024-02-27 10:32:24 -07:00
Jeremy Soller
b55fad7e33
Add move popover positioning options 2024-02-27 10:25:37 -07:00
Jeremy Soller
7abfef4eed
Ensure popover passes through child overlay 2024-02-27 09:49:11 -07:00
Jeremy Soller
16aaf10b56 Add support for themed application dialog 2024-02-27 09:38:33 -07:00
Ashley Wulber
524ceef47c chore: fmt 2024-02-26 16:50:40 -07:00
Jeremy Soller
a0340aac26
Center popovers without positions 2024-02-26 15:12:46 -07:00
Ashley Wulber
f4ad098647 wip: update to use latest iced 2024-02-06 11:28:27 -05:00
Jeremy Soller
98d6d67ab9 widget::popover: context menu positioning logic
This keeps the popup inside the parent widget bounds, logic that is
common for context menus
2024-01-06 20:52:17 -07:00
Jeremy Soller
4674e4b23e widget::popover: add show_popup to allow disabling overlay 2024-01-05 10:56:59 -07:00
Ashley Wulber
fcfe9ebc59 chore: update iced 2023-12-04 17:53:24 -05:00
Ashley Wulber
9202383596 chore: update to 0.12 2023-12-04 17:53:24 -05:00
Jeremy Soller
001fd744c5 Allow custom position in popover 2023-11-20 10:18:10 -08:00
Ashley Wulber
69da283aeb update iced 2023-08-21 15:47:01 -04:00
Ashley Wulber
850968715c udpate iced to use latest rebase 2023-06-15 20:38:16 +02:00
Ashley Wulber
e056e8c830
Cosmic advanced text (#103)
* wip: update to use cosmic-advanced-text

* use cosmic-advanced-text branch of iced

* fix: line height and spacing for segmented button and update to get svg fix

* fix: spin button styling & spacing

* update iced to fix segmented button border radius

* feat: example improvements

* feat: helper for loading fonts

* feat: add focus style to button

* fix: slider height and iced fixed

* feat: hash icon width and height

* cleanup

* update ci

* refactor: always use lazy feature of iced

* update iced

* update iced

* cleanup & update iced

* update iced: new slider & tiny-skia quad updates

* update iced: fixes for tiny-skia quad rendering with edge case border radius

* re-export iced_runtime & iced_widget

* merge master

* udpate iced

* update iced

* update iced

* update iced

* fix: make rectangle_tracker subscription only return update if there is some

* feat: derive macro for loading a cosmic-config

* feat (cosmic-config): iced subscription

* fix (example): update to rectangle tracker subscription

* fix (cosmic-config)

* refactor(cosmic-config-derive): add support for types with generic parameters

* fix (cosmic-config): feature gate updates for subscription helpers

* feat: support for custom & system themes + move cosmic-theme to libcosmic

* feat: sorta hacky way of creating header bars for libcosmic + update iced to get support for resizable windows in iced-sctk

* update iced

* update and reexport sctk

* fix: applet border radius

* feat (cosmic-theme): add id and name methods

* fix(cosmic-theme): reexport palette from cosmic-theme

* fix(cosmic-config-derive): allow use with reexported cosmic-config

* feat: update iced with fix and refactor applet env vars

* update iced
2023-05-30 12:03:15 -04:00
Ian Douglas Scott
98ec1bbd48
Add a Popover widget, that shows a widget in an overlay (#100)
This serves a similar purpose to `GtkPopover`. It takes two widgets, one
to show normally and one to show in an overlay.

This should basically work, though more options could be added here.
2023-05-11 13:29:05 -07:00