Commit Graph

813 Commits

Author SHA1 Message Date
Francisco Vallarino
375b19d6e3 Improve slide animation 2021-03-06 14:18:02 -03:00
Francisco Vallarino
0ddd3595d3 Add basic slide animation support 2021-03-06 13:25:47 -03:00
Francisco Vallarino
0519d9a9e9 Add onFinished event support on fadeIn/Out 2021-03-05 17:45:54 -03:00
Francisco Vallarino
1c98483a62 Improve fadeIn/Out widget, add tests 2021-03-05 16:14:32 -03:00
Francisco Vallarino
7080808583 Return init events/requests from nodeHandleEvents_ (keep nodeHandleEvents and related as before, without returning them) 2021-03-05 16:10:34 -03:00
Francisco Vallarino
f0beeba7fc Add initial support for animation 2021-03-04 16:26:38 -03:00
Francisco Vallarino
f93f41b3c7 Default container sizeReq/resize does the right thing for single child widget (it is the most common container case) 2021-03-04 11:05:55 -03:00
Francisco Vallarino
e8285d4ca2 Add support for scroll position reset 2021-03-03 14:12:50 -03:00
Francisco Vallarino
29a5f83530 Add init post handler 2021-03-03 11:18:38 -03:00
Francisco Vallarino
d903932e0f Change order of window/widget initialization. Do not raise resize event on init 2021-03-02 23:26:21 -03:00
Francisco Vallarino
24e99ec311 Follow focus if overlay status of the nodes matches 2021-03-02 15:05:51 -03:00
Francisco Vallarino
6e4cad7218 Update examples to use widgetId instead of path 2021-03-02 14:43:30 -03:00
Francisco Vallarino
ed9d117e7b Always assign max height/width to ScrollH/V 2021-03-02 14:33:32 -03:00
Francisco Vallarino
22bb51184e Add overlay attribute to node info. Use it to avoid autoscrolling (some override may be needed in the future) 2021-03-02 14:31:55 -03:00
Francisco Vallarino
4a24989a43 Use WidgetId in MoveFocus and SetFocus 2021-03-01 20:26:21 -03:00
Francisco Vallarino
2781116d48 Fix issue on stack when flex was zero. Make label use flex instead of expand. Update test cases and examples 2021-02-28 20:36:54 -03:00
Francisco Vallarino
1d15bda28b Make SendMessage receive WidgetId instead of Path. Add findByPath to WidgetEnv to allow getting node information of an arbitrary path 2021-02-27 23:26:51 -03:00
Francisco Vallarino
aab5f5dd20 Remove text prefix from combinators 2021-02-27 17:07:08 -03:00
Francisco Vallarino
2acbf30bda Change default for trim and ellipsis to false 2021-02-27 16:42:43 -03:00
Francisco Vallarino
65132dc9fe Default multiline text to factor = 1 instead of 0.01 2021-02-27 16:37:46 -03:00
Francisco Vallarino
ca881e3d0d Make button use label instead of duplicating the same text handling logic 2021-02-27 16:23:03 -03:00
Francisco Vallarino
b40e1406e4 Add concept of layout direction. Use it to restore single versions of spacer/filler 2021-02-26 13:54:47 -03:00
Francisco Vallarino
81ec297d45 Move SizeReq to Core 2021-02-26 10:05:09 -03:00
Francisco Vallarino
403faa7310 Generalize and (somehow) simplify SizeReq relate logic 2021-02-25 22:03:01 -03:00
Francisco Vallarino
f70874f9f8 Add support for maxLines in label 2021-02-23 22:13:44 -03:00
Francisco Vallarino
cd46fe544a Add support to change child sizeReq in box 2021-02-23 19:54:25 -03:00
Francisco Vallarino
94f2ec3387 Handle box child size with same logic as stack 2021-02-23 19:27:55 -03:00
Francisco Vallarino
e27cbc7d21 Improve label multi line support. Fixed width is no longer needed for it to work 2021-02-23 13:22:17 -03:00
Francisco Vallarino
1be5016f3c Change resize factor default for label 2021-02-22 16:37:26 -03:00
Francisco Vallarino
f63748db49 Fix alignment issue on close icon for dialogs 2021-02-22 14:25:48 -03:00
Francisco Vallarino
5cef4eb754 Make boolean combinators have a default non-argument version and one with underscore that receives a boolean 2021-02-21 23:33:55 -03:00
Francisco Vallarino
8ffda485a7 Add support for underline, overline and throughline text styles. Refactor text handling code 2021-02-21 22:18:24 -03:00
Francisco Vallarino
6f7c27f8cb Change default width of slider. Minor improvement to cursor glitch 2021-02-21 10:43:47 -03:00
Francisco Vallarino
9b6bb77fda Change order of mouse release events (now release-click) 2021-02-19 20:33:44 -03:00
Francisco Vallarino
9508cd5076 Fix scroll hover issue (render request was not being generated) 2021-02-19 17:26:35 -03:00
Francisco Vallarino
a15cc0a438 Fix issue with cursor icon. Add unit tests 2021-02-19 16:25:13 -03:00
Francisco Vallarino
e8817d0bbb Make overlay use a StyleState instead of a single color 2021-02-19 16:24:57 -03:00
Francisco Vallarino
bc822df5c3 Have both alert and confirm receive a widget as its content. Add alertMsg and confirmMsg to handle text 2021-02-18 10:51:13 -03:00
Francisco Vallarino
5198992504 Handle current hover internally using widgetId 2021-02-16 23:32:00 -03:00
Francisco Vallarino
ef7f794a4c Handle current focus internally using widgetId 2021-02-16 23:09:56 -03:00
Francisco Vallarino
934de15302 Re import color table keeping the chromatic order from the source 2021-02-16 18:38:13 -03:00
Francisco Vallarino
ee42efccdf Restore Types/Lens modules on Widgets.Util 2021-02-16 15:00:54 -03:00
Francisco Vallarino
462d88e32a Set cursor icon in parents of target if they have one set. Stack handles the rest. Simplify some logic 2021-02-16 14:32:52 -03:00
Francisco Vallarino
f7731145c5 Do not export constructors if not needed 2021-02-16 00:36:40 -03:00
Francisco Vallarino
2c8943ad2e Make box active style consider active children items 2021-02-16 00:22:35 -03:00
Francisco Vallarino
a51ee9fe9f Restore cursor when dragged outside then inside the window 2021-02-15 21:01:36 -03:00
Francisco Vallarino
8bf1d92338 Another improvement on cursor handling 2021-02-15 17:20:08 -03:00
Francisco Vallarino
7ff1fc1850 Remove StyleChangeCfg 2021-02-15 16:07:42 -03:00
Francisco Vallarino
3ebffe0a3c Remove cursorEvt from StyleChangeCfg 2021-02-15 15:52:21 -03:00
Francisco Vallarino
1f11cc0749 Simplify cursor handling (move overlay logic to widgets that require) 2021-02-15 15:43:45 -03:00