Mikeonhisboat Posted April 9, 2020 Share Posted April 9, 2020 So on the image below I have player profile pic, club logo,and shirt number all displaying in the green 'container'. However they're split across two different columns - the orange line in the image (player pic & logo in first, shirt in second) I'm desparately stuck trying to get them all to appear in one column instead. I.e/to get rid of the virtual orange line. I've tried changing the container to only have one column but it causes the shirt icon not to display. I know that what I need to do is put them all into one container, which is easy enough, but it's the lines of text I'd then need to create/change/delete re/layout class for each widget that i'm stuck on. Putting hem all in one container without sorting the 'layout' lines always makes some/all of the images disappear. I can move the three different elements around later with inset/offset etc (e.g. the player pic will go central). But how do I get them all displaying in one single container to start with?? Xml code below pic. Hugely grateful for any help. Mike @bluestillidie00 @wkdsoul Xml code: (Player Profile Personal Details) <!-- Portrait / Analyser--> <container height="244"> <attachment_group class="horizontal_arrange" horizontal_layout="-1,-1" horizontal_offset="0" horizontal_gap="0" vertical_alignment="vertical" vertical_inset="0" /> <container> <!-- Club badge image --> <widget class="picture" id="lftB" width="225" file="pictures/logos/background/default/right" transparency="0.3"> <layout class="stick_to_sides_attachment" alignment="right" inset="0"/> <layout class="stick_to_sides_attachment" alignment="vertical" inset="0"/> <record id="object_property"> <integer id="get_property" value="mnpc" /> <integer id="set_property" value="file" /> </record> </widget> <!-- Profile picture --> <widget class="picture" id="prop" scale_picture="true" keep_aspect_ratio="true" image_alignment="centre_x,bottom"> <layout class="stick_to_sides_attachment" alignment="all" inset="40,40,0,0" /> <!-- only show the picture if we should show portraits --> <attachment class="test_setting_attachment" get_setting="show_portraits" default_value="true" set_property="hidn"> <boolean id="value" value="false" /> </attachment> <record id="object_property"> <list id="get_properties"> <!--Facegen data request--> <record get_property="fcgn" /> <!--Fake name request--> <record get_property="Pfke" /> <record get_property="prpc" set_property="valu" /> </list> </record> </widget> </container> <!-- Old Attribute Analyser Box--> <container id="ppaa" default_width="-3"> <layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="0" /> <layout class="stick_to_sides_attachment" alignment="horizontal,top" apply_to_children="true" inset="0" /> <!-- KIT ICON --> <widget id="cKit" class="kit_icon" image_alignment="centre" height="140" scale_picture="false" kit_zoom_level="1" priority="1"> <record id="object_property"> <list id="get_properties"> <record> <integer id="get_property" value="Pers" /> <integer id="set_property" value="objt" /> </record> </list> </record> </widget> </container> </container Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now