[Ovmsdev] LCD Car Mount Display

Michael Balzer dexter at expeedo.de
Thu Apr 5 19:51:39 HKT 2018


Julien,

sure, send me the diff, it's on my list as well, but I also had some trouble with my fullscreen mode tests on elements, so I moved it to the
"later" list.

My current idea is to fold the nav bar aside instead, or make it vertical in landscape mode. Phones now have a very bad height ratio in
landscape, so every vertical space gainable is good.

For your button, maybe the chart just needs an .update() call after the switch. The SVG needs to be updated on resize as some element offsets
and lengths are calculated in pixels. The chart system takes care for standard resizing, but possibly not for a tweak like that.

Regards,
Michael


Am 05.04.2018 um 00:29 schrieb Julien “JaXX” Banchet:
>
> On 4 Apr 2018 at 12:47 +0200, Michael Balzer <dexter at expeedo.de>, wrote:
>> Am 04.04.2018 um 09:45 schrieb Julien “JaXX” Banchet:
>>> Anyways, just charged a tablet, gonna try out Michael’s Dashboard (can’t find the fullscreen button in the browser :/) makes me think that it
>>> could be embedded in an app on Cordova/PhoneGap directly!
>>
>> Julien,
>>
>> to open the web UI in full screen mode, use the browser menu "add to home screen", then launch from the icon generated.
>>
>> Regards,
>> Michael 
>
>
> Yes ! And it frees up some extra vertical space:
> https://twitter.com/happyjaxx/status/981581884101677062
>
> Looks like Highcharts doesn’t like being shaken around too much though,
> Was doing html5 fullscreen requests to get the dashboard, and only the dashboard, placing a button in the panel-header, fullscreening the
> inner div, but the gauges don’t really like it, plus the result is radically different from one browser to another, toying with the height
> gives some funky results (some dynamically apply css positioning and margining, others don’t) :-)
>
>
>
> Got the code stashed if you want to give it a look, though it’s kinda light and (too?) simple.
>
> And Firefox, my personal favorite, is kind of a pain in this approach, though mobile browsers are more webkit oriented.
>
> Anyways, had fun, zzz for now
>
> JB./.
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev


-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180405/993cb8e8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OVMS_Dashboard-1.jpg
Type: image/jpeg
Size: 399029 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180405/993cb8e8/attachment-0001.jpg>


More information about the OvmsDev mailing list