I can find no reference to "pos" being a valid CSS attribute. And I don't see how it would work for a SplitPanel's splitter anyway, since a SplitPanel is not a standed HTML element. In other words, you can't do what you're trying to do with CSS.
On Tue, Jan 6, 2009 at 9:09 AM, shaselai <[email protected]> wrote: > > anyone? > > On Jan 5, 2:17 pm, shaselai <[email protected]> wrote: >> I am trying to set the verticalSplitPane's split position in CSS but >> it doesn't seem to be working or maybe i am doing it wrong. >> Java: >> VerticalSplitPanel tempPanel = new VerticalSplitPanel(); >> tempPanel.addStyleName("gwt-VerticalSplitPanel"); >> tempPanel.setTopWidget(VerticalPanelForTopSection); >> tempPanel.setBottomWidget(HorizontalPanelForBottomSection); >> >> CSS: >> >> .gwt-VerticalSplitPanel { width: 220px; >> height: 270px; >> padding-left: 15px; >> padding-right: 15px; >> pos: 200px; } >> >> i know the CSS gets called from running the program but the "pos: >> 200px" doesn't get used at all. I tried >> gwt-VerticalSplitPanel vsplitter { pos: 200px;} and gwt- >> VerticalSplitPanel splitter { pos: 200px;} but didn't work either. >> What am i doing wrong here? Thanks! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
