W dniu 18.12.2012 16:08, Lex Berezhny pisze:
[...]

I don't really understand your CSS requirements. Why do you want to
dynamically inject the CSS? The complexity introduced in that seems
unnecessary. What is the goal or reason for this?

Now, when you need to use some widget (eg. HorizontalSplitPanel), you need to go documentation or code or examples of HorizontalSplitPanel, see what .css classes it uses, and what should be defined in your CSS, and copy&paste it to CSS of your web application. Otherwise - it will look like a shit.

It's especially visible in all dialog boxes.

It's annoying. I think it should work in such way, that you just use HorizontalSplitPanel, and you have default look of it. Eg - default look could be like in https://github.com/pyjs/pyjs/tree/master/examples/splitpanel/public - and if you want it to look different, you can override it in .css

When using analogy of eg. wxWidgets or pyQT - when you use wx.Button, wx.Calendar or something, you just use it - you don't need to worry about copy appropriate images to your application, or write definition of look of button somewhere in your app.

--
pozdrawiam

Łukasz Mach - [email protected]

--



Reply via email to