Michael Aaron Murphy
7712ec0021
fix(context_drawer): adjust fill portion when max_width < 392
2025-08-13 20:06:06 +02:00
Michael Aaron Murphy
6a5076ecb7
fix(context_drawer): adjust header to avoid text wrapping
2025-08-12 22:20:28 +02:00
Michael Aaron Murphy
7aadfe6ba6
improv(context-drawer): import definitions and add map method
2025-04-21 18:12:41 +02:00
Vukašin Vojinović
1486569481
chore: use theme::spacing() where applicable
2025-04-02 00:33:21 +02:00
Michael Aaron Murphy
0aa518984e
chore: format for 2024 edition
2025-03-21 13:33:07 +01:00
Michael Aaron Murphy
8cf372c9b9
perf: inline public getters/setters, and use non-generic inner functions
...
To reduce compile-times and avoid some overhead to binary size, this will modify some of our
generic functions to use non-generic inner functions where possible. The inner functions are
marked carefully with `#[inline(never)]` to prevent being inlined by LLVM at their callsites
While looking for generic functions to optimize, I have also taken the opportunity to annotate
public non-generic getters and setters with `#[inline]` to ensure that LLVM will inline them
across crate boundaries. By default, only generic functions are automatically inlined, and
only when enabling fat LTO are constant functions reliably inlined across crate boundaries.
2025-03-21 13:31:34 +01:00
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management
2025-03-14 16:56:21 +01:00
Ashley Wulber
bc89a8aede
fix: don't apply drawer position as overlay translation
2024-11-20 05:02:59 +01:00
Vukašin Vojinović
dd79e900da
fix(footer): corner radius
2024-11-18 19:59:59 -05:00
wiiznokes
a355a049d9
feat!(app): ContextDrawer return type for context_drawer method
2024-11-16 03:38:29 +01:00
Ashley Wulber
2ecef3c7b2
feat: better a11y support
2024-11-11 15:02:04 -07:00
Vukašin Vojinović
3dcc47d6a7
improv(context_drawer): add optional header and footer element
2024-11-10 19:58:42 +01:00
Vukašin Vojinović
2909d37b58
fix(context_drawer): remove content padding
...
This is so that the scrollbar can be at the edge of the context drawer.
Apps will need to specify this padding for everything that goes below the header (if using a scrollable, it should be applied before the scrollable).
2024-11-10 15:49:25 +01:00
Vukašin Vojinović
c310f4ca24
feat(context_drawer): add actions to header
2024-11-10 15:49:25 +01:00
Michael Aaron Murphy
8c69491f2a
fix(context_drawer): remove scrollable
2024-11-09 03:38:03 +01:00
Vukašin Vojinović
707f2115eb
fix(context_drawer): center header elements
2024-11-08 15:59:33 +01:00
Vukašin Vojinović
3c5a2d9340
fix(app): conditionally set context drawer padding
...
This fixes the cosmic-term terminal_box becoming cropped when opening a context drawer.
2024-11-06 18:24:50 +01:00
Vukašin Vojinović
127ce17b85
improv: add window border
2024-11-05 10:02:19 +01:00
Ashley Wulber
0491c4baaa
libcosmic updates
2024-10-18 14:04:39 -04:00
Jeremy Soller
100f75f88e
feat(app): footer widget
2024-10-10 19:06:48 +02:00
Jeremy Soller
10f02d9d6b
Responsive context drawer width
2024-09-23 10:02:34 -06:00
Michael Aaron Murphy
1e5828e01c
improv: get window control icons from icon theme
2024-07-22 07:24:07 +02:00
Ashley Wulber
173ddca60f
fix: refactor dnd impl to support responsive widget
2024-05-31 19:14:58 -04:00
Michael Aaron Murphy
f4936344f0
chore(doc): add documentation for a handful of widgets
2024-05-20 20:01:47 +02:00
Ashley Wulber
84d77281cb
fix: context-drawer border & radius
2024-05-13 20:00:34 +02:00
Michael Aaron Murphy
e556148942
fix(context-drawer): close button should use link button style
2024-04-26 17:00:24 +02:00
Ashley Wulber
fa31f42cd8
fix: dnd
2024-04-04 18:47:06 -06:00
Michael Aaron Murphy
db5d989972
refactor(theme): create Container::ContextDrawer style variant
2024-03-05 08:35:47 -07:00
Ashley Wulber
925f5f0993
fix: context drawer
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
Ashley Wulber
a4d1b1b651
refactor: cosmic-config granular key updates and remove unused generics from cosmic-theme
2024-01-02 15:12:14 +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
c66e4aafd0
update to support winit multi-window
2023-12-08 10:06:13 -05:00
Jeremy Soller
77e9a160c4
Fix incorrect tree item in ContextDrawer overlay
2023-12-06 14:07:16 -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
danieleades
8e99406a8b
chore: fixing linter warnings
2023-11-28 20:02:08 +01:00
Michael Aaron Murphy
3127de3296
feat(widget): add ContextDrawer widget
2023-10-12 16:37:38 +02:00