[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-ui
Subject:    Re: widgets anti-aliasing, round corners,... [was Re: GTK/MAC/WIN
From:       Jerry Baker <jbaker6953 () yahoo ! com>
Date:       2000-01-31 16:57:40
[Download RAW message or body]

Ian Oeschger wrote:
> 
> The "default" directory in your chrome url is unnecessary, I think.
> The chrome url is not exactly literal in its interpretation of paths.
> Elsewhere in the XUL CSS (e.g., in navigator.css), images sitting in
> global/skin/default/image.gif and referenced with the chrome url:
> 
> chrome://global/skin/image.gif
> 
> Give that a whirl and see if you have any luck. Also check out hyatt's
> Configurable Chrome doc at
> http://www.mozilla.org/xpfe/ConfigChromeSpec.html for more information
> on CSS in XUL.
> 
> ian
> 
> 
> Jerry Baker wrote:
> 
> > pete collins wrote:
> > >
> > > > do you think it could be possible to have anti-aliasing in gfx
> > or at
> > > > least improve the drawing of round corners ?
> > >
> > > just use images in your css style rules.
> > >
> > > pete
> >
> > OK. Being the XUL ignoramous that I am, I have to ask. How do you
> > use
> > images in place of widgets in the CSS? I tried copying how it's done
> > in
> > other CSS, but it don't work. I did this:
> >
> > html|input[type=radio] {
> >   list-style-image:url("chrome://global/skin/default/radio.gif");
> > }
> >
> > And yes, there is a radio.gif in that dir.
> >
> > Please help out someone who knows HTML upside down and backwards,
> > but
> > who thinks XUL might as well be Sanskrit.
> 
> --
> Ian Oeschger
> XUL Information Developer
> Netscape Communications
> 
> If the only tool you have is a hammer, you tend to treat everything
> as if it were a nail. -- Abraham Maslow
> 

I included the default after it did not work without it. Still doesn't
work. Haven't figured it out yet.

-- 
Jerry Baker

"Real programmers don't work from 9 to 5. If any real programmers are
around at 9am it's because they were up all night." - Anon.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic