Gordon Williams
595e4a71ea
Fix Layout regression after 9c4cc9d585
...
fixes https://github.com/espruino/BangleApps/issues/3623
2024-10-28 16:50:44 +00:00
Gordon Williams
9c4cc9d585
Minor layout speed improvements (~5%)
2024-10-21 14:54:57 +01:00
Anton
c91e632033
Fix lint errors
2024-03-14 11:18:18 +01:00
Travis Evans
7dfd7dde54
Rename public `btnBorder` and `btnFace` fields to `btnBorderCol` and `btnFaceCol`, respectively
2023-09-14 16:19:45 -05:00
Travis Evans
45f07db370
Fix selected button color on Bangle.js 1
2023-09-14 15:39:50 -05:00
Travis Evans
e098d0fc9e
Implement separate colors for button background (face) and “actual” background (outside border)
2023-09-13 17:10:15 -05:00
nravanelli
e68c526a3e
Update Layout.js
2023-01-20 23:54:13 -05:00
nravanelli
9e8a44dca6
Update Layout.js
...
fixed "fat finger" error in copy/paste from local code; Line 193; l.btnBorder
removed btnCol and replaced to bgCol, which is typically ignored in the type:btn
2023-01-20 22:49:22 -05:00
nravanelli
a725dc7a78
Update Layout.js
...
added functionality for button colour specifications
2023-01-19 13:09:35 -05:00
Gordon Williams
3ba8f7729e
Fix layout error when there's not a h or v element as root - https://forum.espruino.com/conversations/382806/#comment16819463
2023-01-09 14:21:27 +00:00
Martin Boonk
dec95eb281
layout - Allow providing a remove handler in options
2022-11-30 18:46:21 +01:00
Gordon Williams
a901ad042f
Layout performance improvements by keeping functions pre-parsed in RAM when needed.
2022-11-24 10:19:27 +00:00
Gordon Williams
828f9821ad
Fix issue caused by minification (moving the declaration of 'var btnList/a' into an 'if' statement). Now we can use 'let' and the minifier doesn't try and do stupid things with that
2022-06-29 09:16:45 +01:00
Gordon Williams
6ad485c628
Fix issue with >1 layout button on Bangle.js 2: http://forum.espruino.com/conversations/377235/#comment16576403
2022-06-28 13:39:46 +01:00
Gordon Williams
0cc0a40356
fix layout minification issue
2022-06-10 09:19:53 +01:00
Gordon Williams
d07580cc90
Add minified layout library, which should improve layout speed a lot.
2022-06-09 10:41:03 +01:00
Alessandro Cocco
f0e2627571
Move Layout docs to a separate file
2022-05-25 12:38:45 +02:00
Gordon Williams
43a3d70571
run 0.14: Fix Bangle.js 1 issue where after the 'overwrite track' menu, the start/stop button stopped working
...
Add 'setUI' to Layout
2022-05-23 11:53:25 +01:00
Gordon Williams
0a36095dc1
Merge branch 'messages-back'
2022-05-11 09:10:32 +01:00
sir-indy
c94b8be629
Update Layout.js
...
Removed as per https://github.com/espruino/BangleApps/pull/1788#discussion_r863924717
2022-05-04 10:18:48 +01:00
sir-indy
0a93ea7c00
Update Layout.js
...
Remove text scale option, as scale can be set in font, as per #1699
2022-05-03 10:06:10 +01:00
sir-indy
baa242e92b
Update Layout.js
2022-04-29 11:28:58 +01:00
sir-indy
fc1bd36ec2
Update Layout.js
2022-04-29 11:16:48 +01:00
sir-indy
1e4486861a
Update Layout.js
2022-04-29 10:26:44 +01:00
sir-indy
826bc29738
Update Layout.js
2022-04-29 10:16:42 +01:00
sir-indy
7f2af3c892
Update Layout.js
2022-04-29 09:55:31 +01:00
Gordon Williams
45cde94a26
messages 0.29: Support for the setUI 'back' icon in the top left
2022-04-01 09:49:57 +01:00
Richard de Boer
7b842294e0
Layout: add support for `back` option
2022-03-17 15:33:32 +01:00
Salim Blume
aebc8bb3d5
Initial commit
2022-03-05 21:18:51 -06:00
Gordon Williams
17b7d85950
Layout: remove 'fsz' hack as any firmware 2v11+ will support font size in the string now
2022-02-23 10:45:18 +00:00
Gordon Williams
580497b1e7
Fix Layout module rendering black text on white
2022-02-21 10:55:22 +00:00
Gordon Williams
af0dfed2c3
allow non-button elements of Layout to be tapped
2022-02-08 10:42:14 +00:00
Gordon Williams
08e168ab62
docs on modules
2022-01-28 09:46:19 +00:00
Richard de Boer
6a72aafc19
layout: use 'col' for btn label/image
2022-01-07 20:18:17 +01:00
Gordon Williams
896508e7a2
docs
2022-01-05 16:37:24 +00:00
Gordon Williams
f4f40cee3a
Fixes for Bangle.js 1
2021-11-10 13:42:11 +00:00
Gordon Williams
935d409f4c
ability to depend on a specific app ID
...
Layout can display images in buttons
iOS and Android integration apps
2021-11-04 17:16:02 +00:00
Gordon Williams
f87f0a19f4
Layout now uses appRect (should be fine with the new polyFill)
2021-10-27 16:50:16 +01:00
Gordon Williams
fc3ce86009
misc tweaks for layout/gps time/bootloader
2021-10-20 20:28:28 +01:00
Gordon Williams
1e0f6cd675
Allow non-function images, and fix touch handling for 'fake' buttons on Bangle.js 2
2021-10-18 14:33:42 +01:00
Gordon Williams
c4c2a93056
oops
2021-10-18 13:35:28 +01:00
Gordon Williams
f41b3c5a88
Update bootloader to include polyfills for g.wrapString, g.imageMetrics, g.stringMetrics - and modify Layout lib to use those functions
2021-10-18 12:01:40 +01:00
Gordon Williams
3f26b8b88e
Layout module now allows 'soft' buttons to be cycled through and selected using up/down on Bangle.js 1
2021-10-18 11:32:46 +01:00
Ben Whittaker
cdf95566bd
Layout: Add `forgetLazyState` method
2021-10-05 20:57:10 -04:00
Ben Whittaker
f37b744ed5
Layout: defer initial update until first render
2021-10-05 12:32:06 -04:00
Ben Whittaker
202690de40
Layout: Implement text wrapping
2021-10-04 16:06:46 -04:00
Gordon Williams
c5d7a73f4f
fix image width/height code
2021-09-30 17:00:46 +01:00
Gordon Williams
dd49e1f631
tweaks to reduce layout memory usage
2021-09-29 14:22:36 +01:00
Gordon Williams
c96ae6c8ae
Minor layout speed tweak
2021-09-29 09:20:56 +01:00
Gordon Williams
ee60bda59b
Merge branch 'master' of github.com:espruino/BangleApps
2021-09-29 09:18:46 +01:00