Re: DisclosurePanel

2019-05-21 Thread Rob Newton
When you create the DisclosurePanel you can provide the text for the header: DisclosurePanel(java.lang.String headerText) On Wednesday, May 22, 2019 at 3:59:16 PM UTC+10, naaser ahmed wrote: > > Hello, > > I am trying to make my website compatible with Accessibility and running > into "Links

Re: DisclosurePanel, class-name "content"

2010-09-08 Thread lineman78
I agree with you that the reason for the prefixing is to prevent collisions, but agree(assuming the following was the the GWT team's reasoning) that only the parent element in a widget should have the prefix and not the sub elements. If you wanted to add a prefix to every class name in your UI, th

Re: DisclosurePanel, class-name "content"

2010-09-08 Thread Jaroslav Záruba
Just to be clear, I don't need advices on workaround. I honestly believe this is just an omission. (The other option wold be 'blatant example of bad design', but we're not talking MSIE here.) The reason behind prefixing class-names used in GWT is, IMO, very obvious - to prevent exactly this kind of

Re: DisclosurePanel, class-name "content"

2010-09-08 Thread Jaroslav Záruba
On Wed, Sep 8, 2010 at 8:03 PM, lineman78 wrote: > Then the problem isn't with GWT; it is with the site you are > integrating with not having a convention. May I ask you then why do you think GWT uses the prefixing at all? -- You received this message because you are subscribed to the Google

Re: DisclosurePanel, class-name "content"

2010-09-08 Thread lineman78
Then the problem isn't with GWT; it is with the site you are integrating with not having a convention. I do agree that it would be nice to be able to change this and if it bugs you that much you can, it's just not as easy as it could be. They have a private static string with the style name withi

Re: DisclosurePanel, class-name "content"

2010-09-07 Thread Jaroslav Záruba
On Wed, Sep 8, 2010 at 2:43 AM, lineman78 wrote: > It is because content and header all both children of the gwt- > DisclosurePanel class and they expect you to use child selectors. > Here is what they expect you use so that you don't end up with > collisions: > > .gwt-DisclosurePanel .content {

Re: DisclosurePanel, class-name "content"

2010-09-07 Thread Jaroslav Záruba
When you're creating a component to existing web-site it is quite likely someone has used the "content" class name. Therefore his CSS will merge with your ".gwt-DisclosurePanel .content". There seem to be a naming convention in GWT. This just shows that there's a good reason to have one. On Wed, S

Re: DisclosurePanel, class-name "content"

2010-09-07 Thread lineman78
It is because content and header all both children of the gwt- DisclosurePanel class and they expect you to use child selectors. Here is what they expect you use so that you don't end up with collisions: .gwt-DisclosurePanel .content { border: 2px solid black; } On Sep 5, 11:08 am, Jaroslav Zár

Re: DisclosurePanel + Custom images + XML

2010-07-19 Thread rlebosse
I found the solution. Dont forget the "d" of "closedImage". closedImage="{disclosurePanelClosed}" On Jul 19, 10:13 am, rlebosse wrote: > Thanks Thomas! > I tried your solution but I have this error when I try to display the > disclosure panel. > > 10:05:37.921 [ERROR] [ermin] In closeImage='{dis

Re: DisclosurePanel + Custom images + XML

2010-07-19 Thread rlebosse
Thanks Thomas! I tried your solution but I have this error when I try to display the disclosure panel. 10:05:37.921 [ERROR] [ermin] In of , both openImage and closedImage must be specified, or neither Do you have any idea of what this problem could be from? Romain On Jul 16, 4:49 pm, Thomas Bro

Re: DisclosurePanel + Custom images + XML

2010-07-16 Thread Thomas Broyer
On 16 juil, 16:30, rlebosse wrote: > Hi everybody, > I'm trying to change the arrow icons of the GWT disclosure panels. I > made it in a GWT class. > > public interface CustomDisclosurePanelImages extends > DisclosurePanelImages >   { >     public AbstractImagePrototype disclosurePanelClosed();

Re: DisclosurePanel and arrows

2010-07-16 Thread rlebosse
I'll try it. Thanks for your help Sean. On Jul 13, 2:53 pm, Sean wrote: > Those are images, and you can set them in the Constructor by using > > http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g... > > On Jul 13, 5:34 am, rlebisse wrote: > > > Hello, > > I've created a Disclo

Re: DisclosurePanel and arrows

2010-07-13 Thread Sean
Those are images, and you can set them in the Constructor by using http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/DisclosurePanelImages.html On Jul 13, 5:34 am, rlebisse wrote: > Hello, > I've created a DisclosurePanel into my GWT project and want the ar

Re: DisclosurePanel: retrieving the height of the content

2009-12-30 Thread mbracken
When handling the OpenEvent, try putting the check for the content's height inside a DeferredCommand. This should give the browser a chance to fully render the content and establish its new height. On Dec 29, 5:09 pm, babarorhum wrote: > Hello, > I am using the DisclosurePanel as described in th

Re: DisclosurePanel not working properly in Firefox

2009-05-17 Thread Salvador Diaz
Can you post some code ? (Preferably to something like pastebin or snipplr) It's hard to tell what's going on without code. For what is worth, I don't think it's a DisclosurePanel bug. Cheers, Salvador On May 16, 2:47 pm, Nim wrote: > Hi All, >             I m using DisclosurePanel  and settin

Re: DisclosurePanel headerText limited to plain text?

2009-04-10 Thread Ian Bambury
2009/4/10 Ken Kahn > > Thanks. Works fine now. > > Any reason why GWT doesn't do this? Google bases its priorities on what Google wants? For example, some widgets stop working if placed inside certain other widgets (splitpanel inside a disclosurepanel for example). Presumably no-one in Google w

Re: DisclosurePanel headerText limited to plain text?

2009-04-10 Thread Ken Kahn
Thanks. Works fine now. Any reason why GWT doesn't do this? -ken On Apr 9, 12:32 pm, Ian Bambury wrote: > It's possible, but not obvious. > There's some code here to do > it:http://examples.roughian.com/#Panels~DisclosurePanel > > Ian > > 2009/4/9 toont...@googlemail.com > > > > > Greetings,

Re: DisclosurePanel headerText limited to plain text?

2009-04-09 Thread Ian Bambury
It's possible, but not obvious. There's some code here to do it: http://examples.roughian.com/#Panels~DisclosurePanel Ian 2009/4/9 toont...@googlemail.com > > Greetings, > > I would like the headerText of a DisclosurePanel to be HTML. I tried > > disclosurePanel.setHeader(new HTML(headerText))

Re: DisclosurePanel with toolbar option

2008-10-22 Thread kaspar.ru
Found the answer :) have to use DOM.eventCancelBubble to stop click event :: On 22 окт, 22:38, "kaspar.ru" <[EMAIL PROTECTED]> wrote: > Hello > is it possible to create DisclosurePanel  and put some links into its > head ? > When I do this an click the link link is work but panel also closes > an

Re: DisclosurePanel

2008-10-14 Thread gregor
can you post a code snippet for this? On Oct 14, 11:31 am, jamer <[EMAIL PROTECTED]> wrote: > Hi group > i create a Widget with a disclosurePanel, and this head it is a other > widget with button. The problem is that when i press the button the > disclosurepanel open or close, but i don't like it