Extending FlexTable to add OnMouseMove events

2009-08-06 Thread max3000
Trying to extend a FlexTable to add OnMouseMove events. Works fine except that I need to create getCellForEvent(MouseMoveEvent e). Inside this method, I would need to create a HTMLTable.Cell. But the constructor is protected! (In general, I find the heavy usage of "final" and "private/protected"

Re: Adding event handler from *outside* widgets

2009-08-04 Thread max3000
An onResize event. Although I'm getting no luck so far... On Jul 31, 1:37 pm, Isaac Truett wrote: > What sort of event are you trying to add to HorizontalSplitPanel? A > Composite might make more sense. > > On Fri, Jul 31, 2009 at 1:13 PM, max3000 wrote: > > > And wha

Re: Adding event handler from *outside* widgets

2009-07-31 Thread max3000
re adding a custom event > handler for a custom event that's not part of the Widget's API, then > it makes sense to subclass the widget because you are, in fact, > creating a new type of Widget. > > On Thu, Jul 30, 2009 at 10:51 AM, max3000 wrote: > > > Hi, > >

Adding event handler from *outside* widgets

2009-07-30 Thread max3000
Hi, I find it very annoying that one can't add event handlers to widgets *outside* the widget itself. Am I missing something or is there no way this can be done elegantly? I'm thinking something like: panel.addHandler(ResizeEvent.getType(), new ResizeHandler() { public void onResize(ResizeEve

HorizontalSplitPanel with DecoratorPanel in Firefox: how?

2009-06-30 Thread max3000
I'm trying to surround a HSP (height: 100%) with a DecoratorPanel. I can get it to work in Hosted, IE and Chrome. Unfortunately, no combination seems to work in Firefox. The code is straightforward: public void test(Panel parentPanel) { HorizontalSplitPanel hSplitPanel = new HorizontalSplitP

Re: Why does HorizontalPanel cells defaults to "vertical-align: top"?

2009-06-30 Thread max3000
I understand, sorry if my responses sounded like that. Again, I really appreciate the help. Thanks, Max --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email

Re: Why does HorizontalPanel cells defaults to "vertical-align: top"?

2009-06-30 Thread max3000
Yes! It works with a flow panel. I really don't know why I couldn't get it to work before. Probably interference with some other things. Now if I can fix that damn button being too big in IE... Thanks! Max --~--~-~--~~~---~--~~ You received this message because

Re: Why does HorizontalPanel cells defaults to "vertical-align: top"?

2009-06-30 Thread max3000
time. This whole thing is just a simple css beginner's exercise, and > muttering 'doesn't work' when *you* can't get something to work isn't going > to inspire people to simplify and explain things even further in an attempt > to get to a point where you *can* un

Re: Why does HorizontalPanel cells defaults to "vertical-align: top"?

2009-06-29 Thread max3000
On Jun 29, 7:37 pm, Ian Bambury wrote: > Do you want > the bottom of the image and the bottom of the textbox to be in line (this is > what I am understanding from what you have said). Something like that. In effect, what I want is a lot like the "search line" in google docs: logo + textbox + but

GWT components too big in IE

2009-06-29 Thread max3000
Hi, GWT seems to render components too big in IE. This can be seen simply by navigating to the GWT showcase. Make sure the zoom is reset (100%). It is obvious this is a GWT thing as evidenced by looking at Google docs. The components in docs are fine. Is this a bug? (a feature??) Thanks, Max

Re: Why does HorizontalPanel cells defaults to "vertical-align: top"?

2009-06-29 Thread max3000
Doesn't work. On Jun 29, 8:09 am, Ian Bambury wrote: > vertical-align: bottom !important; > ? > > Ian > > http://examples.roughian.com > > 2009/6/29 alex.d > > > > > panel.setCellVerticalAlignment(textbox, > > HasVerticalAlignment.ALIG

Re: Why does HorizontalPanel cells defaults to "vertical-align: top"?

2009-06-29 Thread max3000
A flow panel doesn't work insofar as the textbox is not horizontally aligned with the image. There might be a way to make it work though, I'm a newbie to GWT and css. Thanks, Max On Jun 29, 3:31 pm, Ian Bambury wrote: > Maybe also ask yourself if you really need a table (VP) when a div > (FlowP

Why does HorizontalPanel cells defaults to "vertical-align: top"?

2009-06-27 Thread max3000
Hi, I'm trying to align an image and a textbox in a HorizontalPanel using only CSS. I want the textbox to be aligned at the bottom. Doing the following works: panel.setVerticalAlignment(HasVerticalAlignment.ALIGN_BOTTOM); However, no amount of CSS at the panel level works. It figures because GW