saint Devill
6 years ago
32 minutes ago
7

Hi 

Please help.. I've spent all day trying to figure this out....

Im trying to incorporate Right and Left foot strength to the attribute table... All the elements are there, but I can't get them to line up (see attached)

I would like to move or realign shoe icon + description (e.g. weak ... strong … v strong) to the corresponding foot

This is what I have done so far (under the attribute panel)

                     

                      <!-- Preferred Foot-->
                        <container class="tcs_table" transparency="0.8">
                            <attachment_group class="vertical_arrange_autosize" vertical_offset="95" horizontal_alignment="horizontal" horizontal_inset="0" />

                            <widget class="label" id="PlfG" auto_size="vertical" font="title" colour="text">
                                <record id="object_property" get_property="PlfG" name="true" />
                                <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0,0,0,20" />
                            </widget>

                            <container height="20">
                                <attachment_group class="horizontal_arrange" horizontal_alignment="left,extend" horizontal_gap="5"/>

                                <widget class="value_based_picture" file="tcs/icons/footedness/footedness" width="24">
                                    <list id="value_list">
                                        <record min_value="1" max_value="4" red_replacement="bg red" brep="white"/>
                                        <record min_value="5" max_value="8" red_replacement="bg range4" brep="white"/>
                                        <record min_value="9" max_value="11" red_replacement="bg range8" brep="white"/>
                                        <record min_value="12" max_value="14" red_replacement="bg range12" brep="white"/>
                                        <record min_value="15" max_value="17" red_replacement="bg range16" brep="white"/>
                                        <record min_value="18" max_value="20" red_replacement="bg green" brep="white"/>
                                    </list>
                                    <record id="object_property" get_property="PlfG"/>
                                </widget>

                                <widget class="footedness_label" id="PlfG" auto_size="vertical">
                                    <record id="object_property" get_property="PlfG" />
                                </widget>
                            </container>
                        </container>

                        <!-- Preferred Foot-->
                        <container class="tcs_table" transparency="0.8">
                            <attachment_group class="vertical_arrange_autosize" vertical_offset="70" horizontal_alignment="horizontal" horizontal_inset="0" />

                            <widget class="label" id="PlfG" auto_size="vertical" font="title" colour="text">
                                <record id="object_property" get_property="PrfG" name="true" />
                                <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0,0,0,20" />
                            </widget>

                            <container height="20">
                                <attachment_group class="horizontal_arrange" horizontal_alignment="left,extend" horizontal_gap="8"/>

                                <widget class="value_based_picture" file="tcs/icons/footedness/footedness" width="24">
                                    <list id="value_list">
                                        <record min_value="1" max_value="4" red_replacement="bg red" brep="white"/>
                                        <record min_value="5" max_value="8" red_replacement="bg range4" brep="white"/>
                                        <record min_value="9" max_value="11" red_replacement="bg range8" brep="white"/>
                                        <record min_value="12" max_value="14" red_replacement="bg range12" brep="white"/>
                                        <record min_value="15" max_value="17" red_replacement="bg range16" brep="white"/>
                                        <record min_value="18" max_value="20" red_replacement="bg green" brep="white"/>
                                    </list>
                                    <record id="object_property" get_property="PrfG"/>
                                </widget>

                                <widget class="footedness_label" id="PrfG" auto_size="vertical">
                                    <record id="object_property" get_property="PrfG" />
                                </widget>
                            </container>
                        </container>

You'll need to Login to comment