Stackpanel and CSS styling

2009-11-30 Thread Hazer
Hello there, I have a DecoratedStackPanel, and I want to style it so that each button in the stack has a different style (e.g. background color.) I've tried this.addStyleName(menu_style1); but this adds the extra styles to all the buttons of the stackpanel. Is there a way to assign different

Re: StackPanel and CSS

2009-05-19 Thread Nick
the normal CSS for StackPanel and nothing changes. .gwt-StackPanel {         background-color :#cff; } .gwt-StackPanel .gwt-StackPanelItem { } .gwt-StackPanel .gwt-StackPanelItem-selected { } .gwt-StackPanel .gwt-StackPanelContent { } You would thank that some sort of backgroup color would

Re: StackPanel and CSS

2009-05-19 Thread Magius
to control the look of it. I have tried using the normal CSS for StackPanel and nothing changes. .gwt-StackPanel {         background-color :#cff; } .gwt-StackPanel .gwt-StackPanelItem { } .gwt-StackPanel .gwt-StackPanelItem-selected { } .gwt-StackPanel .gwt-StackPanelContent

Re: StackPanel and CSS

2009-05-19 Thread Donald.W.Long
donald.w.l...@thelongsfamily.com wrote: Hi all, I have been playing around with StackPanels and I wish to control the look of it. I have tried using the normal CSS for StackPanel and nothing changes. .gwt-StackPanel {         background-color :#cff; } .gwt-StackPanel .gwt

Re: StackPanel and CSS

2009-05-19 Thread Magius
: Hi all, I have been playing around with StackPanels and I wish to control the look of it. I have tried using the normal CSS for StackPanel and nothing changes. .gwt-StackPanel {         background-color :#cff; } .gwt-StackPanel .gwt-StackPanelItem { } .gwt

Re: StackPanel and CSS

2009-05-19 Thread Salvador Diaz
for you. -Nick On May 18, 9:24 pm, Donald.W.Long donald.w.l...@thelongsfamily.com wrote: Hi all, I have been playing around with StackPanels and I wish to control the look of it. I have tried using the normal CSS for StackPanel and nothing changes. .gwt-StackPanel

Re: StackPanel and CSS

2009-05-19 Thread Donald.W.Long
the look of it. I have tried using the normal CSS for StackPanel and nothing changes. .gwt-StackPanel {         background-color :#cff; } .gwt-StackPanel .gwt-StackPanelItem { } .gwt-StackPanel .gwt-StackPanelItem-selected { } .gwt-StackPanel .gwt

StackPanel and CSS

2009-05-18 Thread Donald.W.Long
Hi all, I have been playing around with StackPanels and I wish to control the look of it. I have tried using the normal CSS for StackPanel and nothing changes. .gwt-StackPanel { background-color :#cff; } .gwt-StackPanel .gwt-StackPanelItem { } .gwt-StackPanel .gwt-StackPanelItem