Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    HTML Flow height

    We have some scenarios where a height is specified as a percentage but it always takes the parent's height. Is this property supported for HTML Flow?

    Code:
    isc.VStack.create({
    	ID:"VerticalLayouttest",backgroundColor:"blue",
    	name:"VerticalLayouttest",
    	vPolicy:"fill",
    	hPolicy:"fill",
    	height:700,
    	width:"100%",
    	members:
    	[isc.HTMLFlow.create({
    		backgroundColor:"red",
    		title:"HTMLContenttest",
    		contents:"blah b;ahblkhaldjaldjaldjajdalda",
    		height:"33%",
    		overflow:"visible",
    		width:"100%"})
    	]
    });

    #2
    A VStack with vPolicy "fill" is basically a VLayout: vertical space is always filled unless components are marked as fixed size, and in particular, percentages are interpreted as ratios for use of available space.

    Just remove vPolicy:"fill" if you don't want space to be filled.

    Comment


      #3
      gotcha. thanks

      Comment

      Working...
      X