English 中文(简体)
在GWT中,如何使我的小部件脱离其包含小部件的显示边界?
原标题:In GWT, how can I make my widget escape the display bounds of its containing widget?
  • 时间:2011-02-15 03:29:05
  •  标签:
  • gwt

例如,如果上下文菜单在菜单打开时对其面板来说太小,我希望菜单溢出面板,以便正确显示。

在Swing中,您可以安排小部件在玻璃窗格上渲染,玻璃窗格是其他所有东西前面的透明层。GWT中有等效的吗?

在我的例子中,我的上下文菜单不是一个经典的菜单——它是一些任意的GWT面板,其中可能包含(例如)一个带有一些可编辑字段的表单,更像是一个对话框。。。但它不是模态的,它的位置需要锚定到周围的HTML中。

最佳回答

GWT的PopupPanel似乎履行了这一职责。

问题回答

暂无回答




相关问题
Refresh the UI in gwt

I have created some custom composite widget, which listens to an events (in my case loginEvent). Once the event is caught the state of the widget changes so as the way it should look (in my case I ...

How to create a development/debug and production setup

I recently deployed inadvertently a debug version of our game typrX (typing races at www.typrx.com - try it it s fun). It was quickly corrected but I know it may happen again. After digging on ...

GWT error at runtime: ....style_0 is null

My code works fine in IE 8, but on firefox 3.5, the javascript fails to load. I used firebug to figure out why, and the error I get is (GWT detailed mode) My suspicion is that some style is not ...

GWT s hosted mode not working

I ve been stumped for a while trying to figure out why my GWT demo app isn t working in hosted mode so I went back and downloaded the Google Web Toolkit again, unzipped it and simply went to the ...

How to disable Google Visualizations Tool Tips?

Does anyone know how to disable the tool-tip boxes that popup when a Google Visualizations chart is clicked (Selected)? Following the sample code at Getting Started with Visualizations, the "...

GWT 2 CssResource how to

I have a GWT 1.7 application and I want to upgrade it to GWT 2 Milestone 2. The application uses 2 big external CSS files. In GWT 1.7 I had a public folder and put both the CSS files in the folder and ...

热门标签