Hulahop browser screen width XO1.0 vs XO1.5

Seth Woodworth seth at
Wed Apr 21 17:56:21 EDT 2010

Currently the content is already different in the newest version of
the activity as the XO1.5 has different features.

Are you planning on rebasing the content somewhere?


On Tue, Apr 20, 2010 at 10:29 PM, George Hunt <georgejhunt at> wrote:
> I'd like a solution which lets Activities run on both older and newer
> versions of sugar.
> 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
> George
> On Tue, Apr 20, 2010 at 6:06 PM, Seth Woodworth <seth at>
> wrote:
>> 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.
>> On Sun, Apr 18, 2010 at 10:27 PM, George Hunt <georgejhunt at>
>> wrote:
>>> Hi again,
>>> 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.
>>> 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.
>>> On F11, I believe the default screen width sensed by the xulrunner engine
>>> is the 1200x900,   the actual screen size.
>>> 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.
>>> 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.
>>> George
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at

More information about the Devel mailing list