View unanswered posts | View active topics It is currently Thu Mar 23, 2017 11:06 pm



This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
 Visibility.FALSE on ImageAShape in RowAShapeLayout 
Author Message

Joined: Wed Mar 24, 2010 10:46 pm
Posts: 2
Post Visibility.FALSE on ImageAShape in RowAShapeLayout
I have an ContainerAShape with three ImageAShape sub-shapes (X,Y,Z) in a horizontal layout. The problem is that I want to set the AShape.A_VISIBILITY on say the middle one ( Y ) to Visibility.FALSE, such that the image Y takes NO space during layout (i.e. image X and Z would be side by side).

That is, I have three images rendered in the upper right hand corner of the activity in a horizontal layout and with very little padding/space between them. The problem is that when, say, the middle one is set to be not visible, there is a “large” gap in the rendering between the first image (x) and the last (z).

This is so I can toggle the visibility of these images via a setStaticOverride and still have the visible images rendered side-by-side.

I basically want the preferred size of the not visible ImageAShape subshapes to be (0,0).

I have tried RowAShapeLayout and CutEdgeAShapeLayout with no luck.

Does anybody know if this is possible?

Thanks,
John


Thu Mar 25, 2010 4:33 pm
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 1 post ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.