Jump to content

Skinning the News Screen


stevemc

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...