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
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
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
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
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
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 {
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
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
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
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
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();
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
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
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
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
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
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,
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))
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
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
20 matches
Mail list logo