Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add default stylesheet to simplify Pyjamas development #615

Open
pyjsorg opened this Issue · 2 comments

1 participant

@pyjsorg
Owner

Many of the Pyjamas widgets rely on stylesheet definitions in order to be
usable. For example, the default behaviour of ui.MenuBar is basically
unusable unless you define your own stylesheet definitions.

This requirement to define stylesheets can be quite confusing for a new
programmer, who expects the various widgets to "just work". Would it be
feasible / worthwhile writing a default stylesheet which can be
automatically included in the built application so that the various widgets
work correctly from the outset? If such a stylesheet was added, we would
have to be careful to ensure that the default stylesheet is only acting as
a default, and should be easily disabled or overwritten by the developer if
they wish to use their own stylesheet definitions instead.

Original issue: http://code.google.com/p/pyjamas/issues/detail?id=101 (November 19, 2008 22:51:15)

@pyjsorg
Owner

From luke.lei...@gmail.com on July 10, 2009 20:52:56:
yehhhs.... it would go alongside the default HTML which is built at the moment.
but, i cannot think of how that would work with pyjd, unless pyjd actually
creates the files as part of the startup (pyjd.setup()) !

which would be... bad?

@pyjsorg
Owner

From luke.lei...@gmail.com on June 26, 2010 12:58:52:
ok there's a new example cssmesser which includes some dynamic css stylesheet changing

@pyjsorg pyjsorg referenced this issue from a commit
Daniel Kluev Implemented from ... import *, issue #615 b3424c5
@pyjsorg pyjsorg referenced this issue from a commit
Daniel Kluev Tests for from ... import *, issue #615 ef3c0e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.