Notifications
Clear all

[Closed] Rolloutfloater and imgTag

Hi,
I’m having a weird issue with a rolloutfloater and an imgTag. I have an imgTag at the top of my rollout. It’s a banner. When I scroll down to view more of my rollout the imgTag moves up and eventually out of sight. The issue occurs when I scroll in such a way the banner is positioned (partly) underneath the titlebar of the rollout. When that happens I’m unable to move the entire floater by dragging the titlebar. This only happens in the portion of the titlebar the imgTag is under.

Here’s a sample floater to demonstrate this. I’ve tested in max 2015 and 2016 and confirmed it. The imgTag slides under the left half of the titlebar. The right half of the titlebar is unaffected and is still available for moving the entire floater.

rollout roll "Dragging test"
  (
  	imgTag imgBanner width:150 height:600
  	label lbl1 "scroll a bit down" align:#right offset:[0,-600]
  	label lbl2 "A bit more" align:#right offset:[0,300]
  	label lbl3 "This is good" align:#right offset:[0,50]
  	on roll open do
  	(
  		local bm = bitmap 150 600 color:yellow
  		imgBanner.bitmap = bm
  	)
  )
  
  theFloater = newRolloutFloater "imgtag test						  ^" 400 300
  addRollout roll theFloater rolledup:false
 
 
2 Replies

if you don’t need ImgTag be clickable just disable it. it fixes the issue.

Doh! So easy, thanks Denis.