Commit Graph

793 Commits

Author SHA1 Message Date
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
Francisco Vallarino
77f3ef9cb0 Improve dialog theme 2021-02-15 11:31:04 -03:00
Francisco Vallarino
da529ba123 Fix rendering issue on icon 2021-02-15 11:26:34 -03:00
Francisco Vallarino
2c6a2c7d84 Add scrollInvisible config option (really a group of options) 2021-02-15 00:44:00 -03:00
Francisco Vallarino
2ee8e92b83 Fix cursor issues on split 2021-02-15 00:37:51 -03:00
Francisco Vallarino
79638ee07d Use scissor for image 2021-02-15 00:19:31 -03:00
Francisco Vallarino
7cf5fa2268 Switch item positions in cursor related tuples 2021-02-15 00:12:49 -03:00
Francisco Vallarino
d23ee09e00 Remove unneeded fields in StyleChangeCfg 2021-02-15 00:02:00 -03:00
Francisco Vallarino
cfc5c4d9f4 Improve cursor icon situation 2021-02-14 22:03:18 -03:00
Francisco Vallarino
a94eeadd41 Improve books example 2021-02-12 00:26:41 -03:00
Francisco Vallarino
76c125f598 Add books example, loading information from a REST API 2021-02-11 20:45:24 -03:00
Francisco Vallarino
6f7a673700 Add image loading unit tests 2021-02-11 13:11:31 -03:00
Francisco Vallarino
10867e8661 Improve testing utilities 2021-02-11 12:47:03 -03:00
Francisco Vallarino
7a332f6e02 Update button glyphs if style changed. Add tests for button and label 2021-02-10 18:00:20 -03:00
Francisco Vallarino
467f08c1e4 Add support to customize inputField default size and resize on input behavior. Do not resize on input change by default on textField/numericField 2021-02-10 17:18:28 -03:00
Francisco Vallarino
1675c241cf Save previous style in label to be able to compare it 2021-02-10 15:58:57 -03:00
Francisco Vallarino
a59e357a87 Update listView items style in post, otherwise merge causes an unnecessary resize 2021-02-10 15:58:38 -03:00
Francisco Vallarino
0d164b9d08 Use user provided sizeReq if available. Several minor code improvements 2021-02-09 22:52:01 -03:00
Francisco Vallarino
831772605b Minor refactoring on window resize 2021-02-07 19:03:57 -03:00
Francisco Vallarino
84c4aa6df0 Add config to choose auto scroll on focus change. Defaults to True 2021-02-07 14:55:16 -03:00
Francisco Vallarino
8fa7f54de7 Restore standard scissor to Container, make children scissor name more explicit 2021-02-07 13:20:41 -03:00