|Overlays via custom widget? [message #991371]
||Tue, 18 December 2012 19:59
| Ray Pendergraph
Registered: July 2009
I have read in several other posts on this forum and around the web that SWT does not provide really the ability to overlay transparent panes (like a glass pane)for additional "floating" controls, drawing, etc. A Composite does not seem to be able to have a clear background. Documentation and other posts here and elsewhere would seem to suggest that Shell (using SWT.NO_TRIM | SWT.ON_TOP) can have a clear background for overlay type operations but this does not seem to be the case in RWT. At least I cannot seem to get it to work as the Shell always occludes what's under it in the browser. Setting alpha only works for the entire Shell and its contents which is not what we need. Giving each control on the overlay layer it's own Shell sized to the control works but seems like a hack. We need the ability to have a layer that obeys the normal layout of a UI but need the ability to layer other controls or drawings over certain points on the page. My questions are these:|
- Is the inability to provide this type of UI layering (Glass pane effect) an omission in SWT or in RAP/RWT (or both)?
- Am I going down a wrong path here? Is there a better approach?
I looked here but the API says TBD.
[Updated on: Tue, 18 December 2012 20:24]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.08961 seconds