Hi gaurav,
If you want to style a custom complement then add
a corresponding namespace in CSS file.
ex:
@namespace customComponent "com.cc.*"
customComponent|DropDownFilterEditorBase
{
}
Regards,
Dhana
On Fri, Oct 8, 2010 at 11:06 PM, Gaurav <[email protected]> wrote:
> Hi Kannan,
> Thanks for take me in this direction.
> Here you can see in css that DropDownFilterEditorBase and
> DropDownFilterHeaderRenderer are not Out of box (not provided by flex)
>
> class DropDownFilterEditorBase extends Box and same
> DropDownFilterHeaderRenderer ...can you please help me further to
> findout how can I make it adjust according to flex4
>
> Thanks
>
>
> On Oct 8, 11:51 am, kannan r <[email protected]> wrote:
> > Hai friend,
> >
> > In flex 4 sdk as we have two sets of components the spark and the mx. We
> > also do have to set of css properties to play with. So when trying to
> write
> > a css file, try to use s| or mx| then the property name. for e.g.
> > s|DropDownFilterEditorBase or mx|DropDownFilterEditorBase. I hope it
> helps.
> >
> > And one more info buddy, did u notice you are not getting many responses.
> > Tht is because of the topic for your post. Please try to give some
> relevant
> > topics so that the experts in that topics will notice that and try to
> help
> > you.
> >
> > Thanks,
> > kannan. r
> >
> >
> >
> > On Thu, Oct 7, 2010 at 10:18 PM, Gaurav <[email protected]> wrote:
> > > Hi friends,
> > > Recently I have to migrate my flex3 project to flex sdk4, after
> > > migration I came to know that look and feel of entire application
> > > changed, I did googling and found that is because of default theme of
> > > sdk4. I changed the theme to 'halo' but still few things are not
> > > working. After debugging it seems that my default css is being
> > > overrided by framework theme (not sure).
> >
> > > My default css is -
> >
> > >
> -----------------------------------------------------------------------------------------
> > > DropDownFilterEditorBase{
> > > border-style: solid;
> > > background-alpha: 1;
> > > background-color: white;
> > > drop-shadow-enabled: true;
> > > padding-bottom: 5;
> > > padding-left: 5;
> > > padding-right: 5;
> > > padding-top: 5;
> > > }
> >
> > > DropDownFilterHeaderRenderer{
> > > padding-bottom: 0;
> > > padding-left: 5;
> > > padding-right: 0;
> > > padding-top: 0;
> > > horizontal-gap: 0;
> > > vertical-align: middle;
> > > filter-button-style-name: dataGridFilterButton;
> > > filter-button-active-style-name: dataGridFilterButtonActive;
> > > }
> > > .dataGridFilterButton{
> > > padding-bottom: 4;
> > > padding-left: 4;
> > > padding-right: 4;
> > > padding-top: 4;
> > > icon:
> Embed("assets/icons/filter.png");
> > > }
> >
> > > ------------------------------------------
> > > I am unable to see image (filter.png) on datagrid header in flex4 :( .
> > > It is working fine with flex3
> > > I had to migrate to flex 4 because I need save API of
> > > flash.net.FileReference which is available in flex4.
> >
> > > Pls give me some idea.
> >
> > > Thankyou
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Flex India Community" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<flex_india%[email protected]>
> <flex_india%2bunsubscr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/flex_india?hl=en.- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.