stevemc Posted November 17, 2018 Share Posted November 17, 2018 I'm trying to get the pictures not to cut off in these panels on the news screen - its like the image is too short or its not stretching it in enough - where will I find the bit of code to made pics fit the boxes? Link to post Share on other sites More sharing options...
stevemc Posted November 18, 2018 Author Share Posted November 18, 2018 I think it's something in this code here? It's like its fitting the shot in to the top and bottom, not the left and right - anyone good with this kind of thing? Quote <panel> <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="0" offset="0"/> <container class="bordered_box" appearance="cfm/cfm competitions/paper3"> <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="-30" offset="0"/> <widget class="picture" id="bkgd" image_alignment="centre" scale_picture="true" keep_aspect_ratio="true"/> <widget class="stadium_picture" id="stad" image_alignment="centre" scale_picture="true" keep_aspect_ratio="true"/> <container> <layout class="arrange_vertical_attachment" layout="10,-1,45" offset="0" gap="0"/> <layout class="stick_to_sides_attachment" alignment="horizontal" apply_to_children="true" inset="0" /> <container /> <container> <layout class="stick_to_sides_attachment" alignment="all" apply_to_children="true" inset="30"/> Link to post Share on other sites More sharing options...
stevemc Posted November 18, 2018 Author Share Posted November 18, 2018 I presume it's to do with the image_alignment="centre" Can you set this to "fill" or "cover" to fill the full box area? Link to post Share on other sites More sharing options...
stevemc Posted November 18, 2018 Author Share Posted November 18, 2018 I’m at a loss with this, thought I was close but not sure now. I don’t want the images centred I just want them to fit the container space. Any help greatly appreciated... Link to post Share on other sites More sharing options...
TCSSkin Posted November 18, 2018 Share Posted November 18, 2018 upload or pm me the file + graphics and I'll take a look Link to post Share on other sites More sharing options...
stevemc Posted November 18, 2018 Author Share Posted November 18, 2018 17 minutes ago, bluestillidie00 said: upload or pm me the file + graphics and I'll take a look I've PM'd you mate Link to post Share on other sites More sharing options...
stevemc Posted November 19, 2018 Author Share Posted November 19, 2018 Still struggling with this, tried replacing the shot with a different shot (that was twice the size), just to see what happens, and it still records the shot into the container window and leaves a black gap either side - must be something in the code? Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.