Eddy Bruel
7881fbb17c
Fix bug in wrapping
2025-10-28 11:36:21 +01:00
Eddy Bruel
9674bda214
Unify Size::Right and Size::RightWrap
2025-10-28 09:20:57 +01:00
Eddy Bruel
84dc2afaf0
Use turtle_new_line for wrapping
2025-10-27 12:57:49 +01:00
Eddy Bruel
c504ba62c9
Remove walk_turtle_with_align
2025-10-27 11:13:51 +01:00
Eddy Bruel
4f5bf512a0
Rethink selection drag scrolling as a post-op during draw
2025-10-24 11:40:36 +02:00
Eddy Bruel
c395817415
Add ascender to selection rects
2025-10-21 12:24:33 +02:00
Eddy Bruel
ae2ed8542c
Make fit bounds relative to first ancestor with known size
2025-10-09 16:36:03 +02:00
Admin
4a2a053e09
fix warning
2025-10-02 18:38:33 +02:00
Eddy Bruel
44cf86a897
Implement relative min/max fits
2025-10-02 15:42:36 +02:00
Eddy Bruel
fdf9d66e81
Implement min/max fits
2025-09-25 16:09:28 +02:00
makepaddev
6a9b75c601
fix elided lifetime warnings
2025-09-09 21:37:52 +02:00
Eddy Bruel
462ef81efe
Fix bug in weighted fills
2025-09-09 10:18:55 +02:00
Eddy Bruel
9919360ba5
Make sure to move turtle to new location on wrap
2025-08-20 16:12:38 +02:00
Eddy Bruel
f7ba57942c
Fix position bug in draw_walk when Flow is RightWrap
2025-08-12 11:09:20 +02:00
Eddy Bruel
e576d4e0d6
Remove support for multistyle text layouts
2025-08-01 12:23:56 +02:00
Admin
20f1333f55
fix align typo
2025-07-15 10:25:15 +02:00
Eddy Bruel
840e7669d1
Further cleanup
2025-07-09 15:04:16 +02:00
Eddy Bruel
4cbf821c34
WIP
2025-07-09 15:04:16 +02:00
Eddy Bruel
42a3db6fe5
Clean up end_turtle
2025-07-09 15:04:16 +02:00
Eddy Bruel
ad8891a4be
Further cleanup
2025-07-09 15:04:16 +02:00
Eddy Bruel
ed7629b74e
Implement min/max fills
2025-07-09 15:04:16 +02:00
Eddy Bruel
3ccf3628f2
Refactor Size::Fill to have fields
2025-07-09 15:04:16 +02:00
Eddy Bruel
791e11f036
Preparatory work for min/max fills
2025-07-09 15:04:16 +02:00
Eddy Bruel
8576b399cf
Implement weighted fills
2025-07-09 15:04:16 +02:00
Eddy Bruel
97317539c4
Factor out deferred_{width/height}_up_to from end_turtle
2025-07-09 15:04:16 +02:00
Eddy Bruel
98e30c03cf
Clean up defer_walk
2025-07-09 15:04:16 +02:00
Eddy Bruel
d46e92cc55
Clean up walk_turtle
2025-07-09 15:04:16 +02:00
Eddy Bruel
f4746924ad
Helper functions for moving the turtle
2025-07-09 15:04:16 +02:00
Eddy Bruel
54953c6e7a
Clean up child_spacing
2025-07-09 15:04:16 +02:00
Eddy Bruel
3f31a6dcd1
Clean up update_width_used/update_height_used
2025-07-09 15:04:16 +02:00
Eddy Bruel
f25f843c6f
Dead code removal
2025-07-09 15:04:16 +02:00
Eddy Bruel
fea9767ec0
Helper functions for rects
2025-07-09 15:04:16 +02:00
Eddy Bruel
e7da71f266
Clean up eval_width/eval_height
2025-07-09 15:04:16 +02:00
Eddy Bruel
e6bdf1c025
Helper functions for widths/heights
2025-07-09 15:04:16 +02:00
Kevin Boos
8d34458302
Allow users of TextInput to know when a keypress had no effect ( #767 )
...
* Allow users of `TextInput` to know when a keypress had no effect
This PR makes the `TextInput` widget emit a `TextInputAction::KeyDownUnhandled`
action upon keypresses that don't actually make any change to the widget's selection.
This action is currently only emitted for the Up, Down, Left, and Right arrow keys,
but we can certainly add it to others like Backspace, Delete, etc if desired.
Use case: if you want to enable custom behavior when the user uses arrow keys
to navigate an empty TextInput widget, such as jumping up out of the TextInput focus
to edit the most recent message you just sent in a chat app, then this PR
is necessary. Otherwise there's no way to know whether a given input actually had
any effect on the TextInput's inner cursor/selection state.
* Add the FaceID usage description to iOS Info.plist
Allows Makepad apps to use biometric auth on iOS
2025-06-20 20:48:06 +02:00
Julián Montes de Oca
9f93aea7cd
AdaptiveView Improvements (some regression fixes) ( #764 )
...
* Fix DrawList generation mismatch in overlay cleanup
Prevents "Drawlist id generation wrong index" errors when AdaptiveView
switches between variants by using checked_index() instead of direct
indexing to safely handle recycled DrawList IDs in overlay.end().
* Dispatch WindowGeomChange on web upon CreateWindow
* Move display context updates to window and improve default selector in AdaptiveView
2025-06-03 22:11:55 +02:00
Admin
f5ffecdd06
move quest xr_net example into main repo
2025-05-31 19:20:56 +02:00
Admin
397b6bffa8
remove warnings
2025-05-31 14:42:50 +02:00
Admin
553aeb21b7
fix glyph rendering edgecase of chinese character
2025-05-31 14:41:24 +02:00
Admin
251737968a
temporary sdf-tweak to make the font error go away for now
2025-05-30 12:47:59 +02:00
Admin
0abdc02f22
1.0.0
2025-05-15 16:46:16 +02:00
Admin
33d131b32d
version 0.9.1
2025-05-12 12:08:14 +02:00
Admin
612e0a43df
fix join badly
2025-05-12 12:08:13 +02:00
Admin
ba0e5e7957
chinese font split
2025-05-12 12:08:13 +02:00
Admin
5a687fee93
0.9.0 test
2025-05-11 22:24:36 +02:00
Admin
6c7e83f0ac
auto version ttf-parser unique name
2025-05-11 22:08:12 +02:00
Admin
9236ffd6c9
windows repaint
2025-05-11 20:18:45 +02:00
Admin
1b4d0f71d1
fix svg on android
2025-05-11 20:04:36 +02:00
Admin
931da9104a
paragraph and heading margins
2025-05-11 12:43:55 +02:00
Admin
e731adbc40
fix heading spacing
2025-05-11 12:28:11 +02:00