I'd like a solution which lets Activities run on both older and newer versions of sugar.<br><br>I just googled js screen_width. It looks like the DOM has a predefined object screen, which we can use to select which CSS to use. I'll try that. If it works I'll document it on the hulahop/webview page .as a solution<br>
<br>George<br><br><div class="gmail_quote">On Tue, Apr 20, 2010 at 6:06 PM, Seth Woodworth <span dir="ltr"><<a href="mailto:seth@isforinsects.com">seth@isforinsects.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
It would be far easier to simply change the .css file and layout of the html content in the help activity for the latest versions of sugar.<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Sun, Apr 18, 2010 at 10:27 PM, George Hunt <span dir="ltr"><<a href="mailto:georgejhunt@gmail.com" target="_blank">georgejhunt@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Hi again,<br><br>My activity uses Hulahop Browser for its help system. The default browser on the XO`1.0 seems set up for 800x600. The CSS width specs on the functioning HELP activity add up to 800 px wide and everything works out ok.<br>
<br>But on F11 XO1.5, the same help activity only renders about 2/3 full screen. And I'm experiencing similar problems rendering my help pages between 1.0 and 1.5.<br><br>On F11, I believe the default screen width sensed by the xulrunner engine is the 1200x900, the actual screen size.<br>
<br>I'm pretty sure there's a way to ask the gecko engine to render on a 800x600 screen, or alternatively to ask gecko on the XO1.0 to render on a 1200x900 surface. <br><br>But I don't know XUL well and I feel I'd be wasting my time learning about how to set up gecko, if someone already knows how to solve this one. I'd be willing to modify HELP activity, once we I find an acceptable solution.<br>
<font color="#888888">
<br>George<br>
</font><br></div></div>_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org" target="_blank">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
<br></blockquote></div><br>
</blockquote></div><br>