The more I play with this the more I think there is a bug. I created a new
font and added it to the font defaults. it shows up in the defaults list and
'looks' exactly like the rest of the fonts there. I can create an Atom and
set it's font to 'bold-large' and that works perfect. But when I try and
Apparently the syntax is not 100% correct. no matter how I try and format
it, if I include a font reference it does not work. Using the following
syntax allws the appearances to be registered (I can see them in the list
when I do a qx.Theme.getAll() ) but when you try and actually apply one of
them
This seems to work, or at least I no longer get errors at startup
complainign about the appearances.
Thanks,
Jim
On 7/30/07, Fabian Jakobs <[EMAIL PROTECTED]> wrote:
>
> Hi Jim,
> > I just migrated to 0.7.2-pre (r9171) and my appearances are generating
> > errors when I try and run the app. I l
Jim Hunter schrieb:
> One more thing: once I have this code working, how do I apply one of
> the appearances or themes to a given object? I use these to color text
> (Atoms) on the page. I have no control over the names or the
> information in the Apperance, it comes from a database. These used
Jim Hunter schrieb:
> Great info, thanks. What is the syntax for declaring something like
> BOLD or LINE-THROUGH for the font? I used to do it with an additional
> line of: this.font.setUnderline(true) or this.font.setItalic(true)
> etc. Is it still the same? Where does that line now go? Previou
One more thing: once I have this code working, how do I apply one of the
appearances or themes to a given object? I use these to color text (Atoms)
on the page. I have no control over the names or the information in the
Apperance, it comes from a database. These used to be CSS classes but I
changed
Great info, thanks. What is the syntax for declaring something like BOLD or
LINE-THROUGH for the font? I used to do it with an additional line of:
this.font.setUnderline(true) or this.font.setItalic(true) etc. Is it still
the same? Where does that line now go? Previously I would create the font
bef
Hi Jim,
> I just migrated to 0.7.2-pre (r9171) and my appearances are generating
> errors when I try and run the app. I looked in the API viewer to see
> what the new structure is and it says:
Are you using trunk or the legacy_0_7 branch? I would strongly suggest
to use legacy_0_7. This is where
I just migrated to 0.7.2-pre (r9171) and my appearances are generating
errors when I try and run the app. I looked in the API viewer to see what
the new structure is and it says:
qx.theme.manager.Appearance.getAppearanceTheme ()
is the way to get the instance of the current theme but I get an err