Commit graph

982 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
4fc97c2ba6
Use first comma-separated language in markdown highlighter 2025-12-03 05:22:53 +01:00
Héctor Ramón Jiménez
1383ea4ec2
Unapply translation to image::Viewer viewport
Fixes #3103.
2025-12-02 19:01:24 +01:00
Héctor Ramón Jiménez
40b184f022
Skip redraw request if already redrawing in tooltip 2025-12-02 04:19:32 +01:00
Héctor Ramón Jiménez
453528743b
Fix missing redraw request in tooltip widget 2025-12-02 04:18:06 +01:00
Héctor Ramón Jiménez
e6571d7b70
Translate non-latin Key using Physical codes
Co-authored-by: Leonid Onokhov <sopvop@gmail.com>
Co-authored-by: edwloef <edwin.frank.loeffler@gmail.com>
2025-12-02 04:01:51 +01:00
Héctor Ramón Jiménez
9c4f1ec086
Add padding_ratio to toggler::Style
Co-authored-by: B0ney <40839054+B0ney@users.noreply.github.com>
2025-12-01 21:20:37 +01:00
Héctor Ramón Jiménez
24121de58e
Add border_radius field to toggler::Style
Co-authored-by: B0ney <40839054+B0ney@users.noreply.github.com>
2025-12-01 21:18:56 +01:00
Héctor Ramón Jiménez
e8ad66ef39
Use Background for background and foreground in toggler
Co-authored-by: B0ney <40839054+B0ney@users.noreply.github.com>
2025-12-01 20:28:56 +01:00
Héctor Ramón Jiménez
fae0138e5e
Export Cursor in widget::text_editor 2025-12-01 20:17:08 +01:00
Héctor Ramón Jiménez
4428f31b4f
Add move_to method to Editor 2025-12-01 20:11:42 +01:00
Héctor Ramón Jiménez
63e9eeffb5
Refactor cursor API in Editor
Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
2025-12-01 19:57:27 +01:00
Héctor Ramón Jiménez
2ac62f7512
Revert tooltip delay to Duration::ZERO 2025-12-01 17:22:54 +01:00
Héctor
78253113f1
Merge pull request #3127 from B0ney/feat/scrollable_styling
scrollable: have scroller use `Background` instead of `Color`
2025-12-01 16:49:57 +01:00
Héctor
a93155b60d
Merge pull request #3132 from edwloef/tooltip-operate
Fix missing `fn operate` in `tooltip` widget
2025-12-01 01:33:38 +01:00
Héctor
68eb57744b
Merge pull request #3117 from mfreeborn/add-text-editor-content-is-empty
add efficient `is_empty` method to `text_editor::Content`
2025-11-30 19:32:19 +01:00
edwloef
949c4edc3c
add missing fn operate to tooltip widget 2025-11-30 11:33:02 +01:00
Héctor
be79690cd1
Merge pull request #3068 from dtzxporter/fix-slider-cursor
Fall back to `Pointer` cursor for `slider` widget on Windows
2025-11-29 15:23:14 +01:00
B0ney
a1122f0754 scrollable: have scroller use Background instead of Color 2025-11-29 14:19:22 +00:00
Héctor Ramón Jiménez
c469dc8a0b
Fall back to Pointer cursor for slider widget on Windows
Co-authored-by: dtzxporter <dtzxporter@users.noreply.github.com>
2025-11-29 15:12:26 +01:00
Héctor
7f1f1581e7
Merge pull request #3049 from dejang/menu-overlay-shadow
Add `shadow` to `overlay::menu::Style`
2025-11-29 14:50:21 +01:00
Héctor
9e1340f36f
Merge pull request #3063 from edwloef/combo-box-click-fix
Fix `combo_box` text not getting cleared on selection
2025-11-29 14:44:23 +01:00
dejang
2d293fd11e
Add shadow to overlay::menu::Style 2025-11-29 14:40:00 +01:00
Héctor Ramón Jiménez
8c29cbc3d9
Remove superfluous comma in markdown 2025-11-29 13:30:35 +01:00
Héctor Ramón Jiménez
696f912d3d
Remove width and center from Bullet::Point
Mixing bullet points and tasks is rare.
2025-11-29 13:29:24 +01:00
Héctor Ramón Jiménez
e27b8cba8e
Center task checkboxes vertically in markdown widget 2025-11-29 13:22:47 +01:00
Héctor Ramón Jiménez
6c271541b0
Refactor ListItem into Bullet in markdown widget 2025-11-29 13:22:28 +01:00
pml68
798e777772
feat: add support for *non-interactive* checkmarks in markdown 2025-11-29 12:56:37 +01:00
Héctor Ramón Jiménez
8b2b302762
Fix checkbox rendering its label unconditionally 2025-11-29 11:50:45 +01:00
Héctor
565fd2adf7
Merge pull request #3015 from bradysimon/fix/hover-events
Fix `hover` ignoring events in certain conditions
2025-11-29 10:47:30 +01:00
Héctor
4dbce8272e
Merge pull request #3010 from Remmirad/stack_set_ref_child
Add `push_under` method to `stack` widget
2025-11-29 10:24:34 +01:00
Héctor Ramón Jiménez
f1bd6a376c
Add push_under method to stack widget
Co-authored-by: Remmirad <remmirad@posteo.net>
2025-11-29 10:15:50 +01:00
pml68
2e88efddd5
fix: Svg status not getting updated 2025-11-29 09:45:44 +01:00
Héctor Ramón Jiménez
d66cf51ad2
Fix macOS shortcut handling in text_input and text_editor 2025-11-29 09:31:35 +01:00
Héctor Ramón Jiménez
4ba180319a
Use modified_key for single key bindings in text_input and text_editor
Co-authored-by: Basti Widua <seppel3210@gmail.com>
2025-11-29 09:15:19 +01:00
Héctor
cdf1d3c666
Merge pull request #2999 from kbjr/markdown-fonts
Add additional settings to control the fonts used for markdown rendering
2025-11-29 06:47:05 +01:00
Héctor Ramón Jiménez
c80b62790f
Replace text_font_family with font in markdown 2025-11-29 06:34:48 +01:00
James Brumond
7e8c1c916f
add additional settings to control the fonts used for markdown rendering 2025-11-29 06:29:27 +01:00
Héctor Ramón Jiménez
8e372ce256
Allow scroll_to and snap_to to operate on a single axis
Co-authored-by: Rizzen Yazston <rizzen.yazston@gmail.com>
2025-11-29 06:23:18 +01:00
Héctor Ramón Jiménez
e9f1ac2c2a
Adjust AutoScroll default styling in scrollable 2025-11-28 22:02:17 +01:00
Héctor Ramón Jiménez
c582687518
Allow AutoScroll styling in scrollable widget 2025-11-28 08:56:32 +01:00
Héctor Ramón Jiménez
99748b89de
Implement AutoScrollIcon overlay for scrollable 2025-11-28 08:28:03 +01:00
Héctor Ramón Jiménez
eadd7b8e81
Smooth out auto-scrolling speed scaling in scrollable 2025-11-28 06:29:25 +01:00
Héctor Ramón Jiménez
519e7ae414
Add auto_scroll method to scrollable widget 2025-11-28 06:08:20 +01:00
nz366
71e57fe889
Add auto-scrolling support for scrollable widget 2025-11-28 05:48:17 +01:00
Héctor Ramón Jiménez
f493065376
Add explicit Open state to tooltip widget
This allows us to properly invalidate layout.
2025-11-27 04:29:24 +01:00
Héctor Ramón Jiménez
63a95942ba
Move delay constant to Tooltip struct 2025-11-27 04:17:10 +01:00
Héctor Ramón Jiménez
cbc311ed9e
Fine-tune tooltip documentation 2025-11-27 04:13:51 +01:00
Héctor Ramón Jiménez
77708f0574
Avoid constant redraws when tooltip follows cursor 2025-11-27 04:12:07 +01:00
Kiëd Llaentenn
5ec23c1243
Add delay suppport for tooltip widget 2025-11-27 04:06:43 +01:00
edwloef
6bbe189809
Fix inconsistent naming of tree parameter in Widget trait (#2950)
* fix inconsistent naming of tree parameter in widget trait

* rename `Tree` parameter in various usages across iced
2025-11-25 23:58:07 +01:00