PDA

View Full Version : cWebFloatingPanel



Sam Cannone
27-Feb-2017, 12:36 AM
Hi All,

Attempting to show a cWebFloatingPanel ( psCSSClass to "Shadow WithArrow" ) object from within a cWebToolbar / cWebMenuItem always positions the floating panel in the top left hand corner of the screen, even though I have it's phoFloatByControl property set to the cWebMenuItemObject ?. Can it be used in this way ?

Seems to work as expected when showing from a cWebButton control.

Sam

Harm Wibier
28-Feb-2017, 05:31 AM
This is a known issue (reported by someone else recently as well) that I am going to look into. The phoFloatByControl feature wasn't really built with menu items in mind which are kind of special. The cWebMenuItem doesn't do the rendering by itself but it is the cWebToolbar / cWebMenuBar / cWebActionBar / cWebMenuButton / cWebMenuList class that does this.

The plan is to see if we can support this since you're the second person to try this in a couple of months it must be something people expect ;).

Sam Cannone
28-Feb-2017, 07:07 PM
Thanks Harm !

I wanted to use the toolbar , but instead ended up using the cWebButton then did some CSS to apply an image .. The cWebImage gives the same behavior ..

Sam