marcomachadosantos / gwt-chronoscope

Automatically exported from code.google.com/p/gwt-chronoscope
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Provide a way to setting the current theme during chronoscope init #71

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In Chronoscope class, during the init method, the following code is run:

if (currentTheme == null) {
  Chronoscope.useGwtTheme(Theme.CHROME);
}

that can result to unwanted styling issues.
Is it possible to provide a way to set the static currentTheme field (or
disabling this code) so that no styling is applied (because it could
provided externally) ?

Original issue reported on code.google.com by nlesc...@gmail.com on 19 Sep 2008 at 1:33

GoogleCodeExporter commented 8 years ago
I could add a Theme.USER option, and let you call 
Chronoscope.useGwtTheme(Theme.USER), which would 
essentially not inject any theme styles. Is that satisfactory?

Original comment by cromwell...@gmail.com on 2 Oct 2008 at 12:10

GoogleCodeExporter commented 8 years ago
Hey Cromwellian,

That sounds pretty perfect !!

Thanks !

Original comment by nlesc...@gmail.com on 2 Oct 2008 at 8:58