angeldiao1982 发表于 2011-11-29 09:36

使用原来版本的教练大头像补丁出现问题

使用以前版本的教练大头像补丁后,教练的属性都不显示了,应该如何修改?

angeldiao1982 发表于 2011-11-29 10:37

正在自己研究,可惜研究不明白,有没有大神解答下???

nichjun 发表于 2011-12-16 22:12

帮顶,求解啊。

nichjun 发表于 2011-12-16 22:21

把panels里Non Player Profile.xml 删除,刷新皮肤。

angeldiao1982 发表于 2011-12-16 22:45

回复 4# nichjun


    晕,去掉了头像就小了

pet 发表于 2011-12-17 03:14

是不是兼容不好啊

lzx8250 发表于 2011-12-17 03:27

88231132 发表于 2011-12-26 04:17

我也同求助...用了原来的大头像补丁后和楼主一样的情况...郁闷!

狗鑫儿 发表于 2012-1-4 20:51

相同问题 求高人

全能的鸭子 发表于 2012-1-26 14:42

同求啊                  :tsj16]

yuan880127 发表于 2012-8-17 10:08

顶一下 看现在有没有能解决的朋友

yuan880127 发表于 2012-8-17 10:20

<?xml version="1.0" encoding="UTF-8"?>
<panel title="Non Player Profile Panel">
<!-- By Tottiseiya@FMYX -->

<!-- attribute colouring -->
<integer id="exca" value="16"/>
<!-- excellent threshold -->
<integer id="excn" value="11"/>
<!-- normal threshold -->
<integer id="excl" value="6"/>
<!-- low threshold -->


<!-- MAIN AREA -->
<layout class="stick_to_sides_attachment" alignment="all" inset="0"/>

<container class="titled_box" title="Staff Profile" hint="TT DIY Tottiseiya@FMYX">

    <layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="0"/>
    <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0"/>
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>

    <!-- main box -->
    <container>
      <layout class="fit_children_attachment" alignment="vertical, extend" offset="0" gap="0"/>
      <layout class="fit_children_attachment" alignment="vertical, fill" offset="0" gap="0" layout_children="true"/>
      <layout class="stick_to_sides_attachment" alignment="top" layout_children="true" inset="0"/>
      <layout class="arrange_horizontal_attachment" alignment="right,fill" layout="-3,-2" offset="0" gap="0"/>

      <!-- Personal Information Panel -->
      <container>

      <layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true"/>

      <!-- WITH PORTRAIT -->
      <!-- this version of the table is used if the player portrait is visible -->
      <widget class="table" id="pld1" mode="printable" layout="300,-1,-1,-1" auto_size_rows="true" stretch_to_fit_rows="true" row_spacing="0" row_height="20">
          <list id="headings">
            <record text="Personal Details" alignment="left, centre_y" column_span="4"/>
          </list>

          <list id="column_properties">
            <record indx="0" alignment="left,centre_y" spec="text"/>
            <record indx="1" alignment="left,centre_y" spec="text"/>
            <record indx="2" alignment="right,centre_y" colour="selection"/>
            <record indx="3" alignment="right,centre_y" colour="selection"/>
          </list>

          <list id="column_display_properties">
            <record indx="0" left="0" sort_disabled="true"/>
            <record indx="1" left="3" sort_disabled="true"/>
            <record indx="2" rght="3" sort_disabled="true"/>
            <record indx="3" rght="3" sort_disabled="true"/>
          </list>


          <!-- Logo and Picture Container -->
          <widget class="group_box" row="0" col="0" column_span="4" row_span="10">

            <!-- Player Picture -->
            <widget class="picture" id="ppic" scale_picture="true" keep_aspect_ratio="true" height="200" width="300">
            <layout class="stick_to_sides_attachment" alignment="left" inset="0"/>
            <layout class="stick_to_sides_attachment" alignment="top" inset="0"/>
            </widget>

      

         

          </widget>


          <!-- TT DIY -->
          <widget class="label" text="TT DIY" col="0" row="12" />

          <widget class="label" text="Nationality" col="1" row="0" column_span="2" />
          <widget class="nation_button" id="pfna" col="2" row="0" icon_alignment="right,can_scale" column_span="2" dspf="1" row_spacing="2"/>

          <widget class="label" text="International" col="1" row="1" column_span="2" />
          <widget class="international_appearances_label" id="pfcg" col="2" row="1" icon_alignment="right,can_scale" column_span="2" />

          <widget class="label" text="Born" col="1" row="2" column_span="2" />
          <widget class="label" id="pdob" col="2" row="2" column_span="2" />

          <widget class="label" text="Age" col="1" row="3" column_span="2" />
          <widget class="label" id="pfag" col="2" row="3" column_span="2" />

          <widget class="label" text="Gender" col="1" row="4" column_span="2" />
          <widget class="label" id="pgen" col="2" row="4" column_span="2" />
            
          <widget class="label" text="Reputation" col="1" row="5" column_span="2" />
          <widget class="label" id="prep" col="2" row="5" column_span="2" />

          <widget class="label" text="Club Job" col="1" row="10" column_span="2" />
          <widget class="label" id="pcjo" col="2" row="10" column_span="2" />

          <widget class="label" text="National Job" col="1" row="11" column_span="2" />
          <widget class="label" id="pnjo" col="2" row="11" column_span="2" />

          <!-- Contracted To (when context team is national side so you know which club he belongs to) -->
          <widget class="text" spec="text" id="pinf" col="1" row="12" column_span="3" colour="profile extra text" alignment="right, centre_y"/>

      </widget>


      <!-- WITHOUT PORTRAIT -->
      <!-- this version of the table is used if the player portrait is hidden -->
      <widget class="table" id="pld2" mode="printable" layout="-1,-1,-1" auto_size_rows="true" stretch_to_fit_rows="true" row_spacing="0">
          <list id="headings">
            <record text="Personal Details" alignment="left, centre_y" column_span="3"/>
          </list>

          <list id="column_properties">
            <record indx="0" alignment="left,centre_y" spec="text"/>
            <record indx="1" alignment="right,centre_y" colour="selection"/>
            <record indx="2" alignment="right,centre_y" colour="selection"/>
          </list>

          <list id="column_display_properties">
            <record indx="0" left="4" sort_disabled="true"/>
            <record indx="1" left="4" sort_disabled="true"/>
            <record indx="2" rght="4" sort_disabled="true"/>
          </list>

          <widget class="label" text="Nationality" col="0" row="0" column_span="2" />
          <widget class="nation_button" id="pfna" col="1" row="0" icon_alignment="right,can_scale" column_span="2" dspf="1"/>

          <widget class="label" text="International" col="0" row="1" column_span="2" />
          <widget class="international_appearances_label" id="pfcg" col="1" row="1" icon_alignment="right,can_scale" column_span="2" />

          <widget class="label" text="Born" col="0" row="2" column_span="2" />
          <widget class="label" id="pdob" col="1" row="2" column_span="2" />

          <widget class="label" text="Age" col="0" row="3" column_span="2" />
          <widget class="label" id="pfag" col="1" row="3" column_span="2" />

          <widget class="label" text="Gender" col="0" row="4" column_span="2" />
          <widget class="label" id="pgen" col="1" row="4" column_span="2" />
            
          <widget class="label" text="Reputation" col="0" row="5" column_span="2" />
          <widget class="label" id="prep" col="1" row="5" column_span="2" />

          <widget class="label" text="Club Job" col="0" row="6" column_span="2" />
          <widget class="label" id="pcjo" col="1" row="6" column_span="2" />

          <widget class="label" text="National Job" col="0" row="7" column_span="2" />
          <widget class="label" id="pnjo" col="1" row="7" column_span="2" />

          <!-- Contracted To (when context team is national side so you know which club he belongs to) -->
          <widget class="text" spec="text" id="pinf" col="0" row="8" column_span="3" colour="profile extra text" alignment="right, centre_y" style="semi_bold"/>

      </widget>

      </container>


      <!-- Properties Panel -->
      <container>
      <layout class="fit_children_attachment" alignment="vertical, extend" offset="0" gap="0"/>
      <layout class="fit_children_attachment" alignment="vertical, fill" offset="0" gap="0" layout_children="true"/>
      <layout class="stick_to_sides_attachment" alignment="top" layout_children="true" inset="0" />
      <layout class="arrange_horizontal_attachment" alignment="right,fill" offset="0" gap="0"/>

      <!-- Coaching Panel -->
      <container id="npcn">

          <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />

          <widget class="table" id="npct" mode="printable" layout="-6,-1" stretch_to_fit_rows="true" row_spacing="0" row_height="20">
            <list id="headings">
            <record text="Coaching" alignment="left, centre_y" column_span="2"/>
            </list>

            <list id="column_properties">
            <record indx="0" alignment="left,centre_y" spec="text"/>
            <record indx="1" alignment="right,centre_y" style="semi_bold"/>
            </list>

            <!-- small inset from sides of table -->
            <list id="column_display_properties">
            <record indx="0" left="3" sort_disabled="true"/>
            <record indx="1" top="3" bottom="3" right="3" sort_disabled="true"/>
            </list>
          </widget>
      </container>

      <!-- Mental Panel -->
      <container id="npmc">

          <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />

          <widget class="table" id="npmt" mode="printable" layout="-6,-1" stretch_to_fit_rows="true" row_spacing="0" row_height="20">

            <list id="headings">
            <record text="Mental" alignment="left, centre_y" column_span="2"/>
            </list>

            <list id="column_properties">
            <record indx="0" alignment="left,centre_y" spec="text"/>
            <record indx="1" alignment="right,centre_y" style="semi_bold"/>
            </list>

            <!-- small inset from sides of table -->
            <list id="column_display_properties">
            <record indx="0" left="3" sort_disabled="true"/>
            <record indx="1" top="3" bottom="3" right="3" sort_disabled="true"/>
            </list>
          </widget>
      </container>

      </container>

    </container>


    <!-- Tactics Panel -->
    <container>
      <layout class="fit_children_attachment" alignment="vertical, fill" offset="0" gap="0"/>
      <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true"/>

      <widget class="table" mode="fill_rows, stripe_rows, printable" id="nptt" layout="-1,-1,-1,-1" auto_size_rows="true" stretch_to_fit_rows="true" row_spacing="0">
      <layout class="stick_to_sides_attachment" alignment="top" inset="0"/>

      <boolean id="scst" value="true"/>
      <boolean id="sdst" value="true"/>

      <list id="headings">
          <record text="Tactics" alignment="left, centre_y" column_span="4"/>
      </list>

      <list id="column_properties">
          <record indx="0" alignment="left,centre_y" spec="text"/>
          <record indx="1" alignment="right,centre_y" colour="selection"/>
          <record indx="2" alignment="left,centre_y" spec="text"/>
          <record indx="3" alignment="right,centre_y" colour="selection"/>
      </list>

      <list id="column_display_properties">
          <record indx="0" left="3" sort_disabled="true"/>
          <record indx="1" rght="3" sort_disabled="true"/>
          <record indx="2" left="3" sort_disabled="true"/>
          <record indx="3" rght="3" sort_disabled="true"/>
      </list>
      </widget>
    </container>


    <!-- Information Panel -->
    <container id="infp">
      <layout class="arrange_vertical_attachment" alignment="top,extend" offset="0" gap="0"/>
      <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />

      <widget class="non_player_contract_panel" id="npcp"/>

      <!-- container showing staff roles and knowledge side by side -->
      <container>
      <layout class="arrange_horizontal_attachment" alignment="left" layout="-1, -1" offset="0" gap="0"/>
      <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />

      <widget class="non_player_roles_panel" id="nprp"/>
      <widget class="non_player_knowledge_panel" id="npkp"/>

      </container>

    </container>

</container>

<!-- By Tottiseiya@FMYX -->
</panel>


我把代码都复制上来了,这里面哪一条是控制版面尺寸的啊?
如果把个人信息的板块缩小点,属性图应该就能显示了

yuan880127 发表于 2012-8-17 10:30



怎么破啊

kiralore 发表于 2012-8-17 13:11

遇到了同样的问题,帮顶同求助

kiralore 发表于 2012-8-17 13:54

可以试试这一个,我换了这个补丁就可以显示了回复 13# yuan880127

yuan880127 发表于 2012-8-17 14:25

可以试试这一个,我换了这个补丁就可以显示了回复yuan880127
kiralore 发表于 2012-8-17 13:54 http://www.playgm.cn/images/common/back.gif


    先谢了。。
不过,用了这个 ,左边的空间又太小了。。都盖住了


我去研究一下

kiralore 发表于 2012-8-17 15:33

回复 16# yuan880127


    <!-- Player Picture -->
            <widget class="picture" id="ppic" scale_picture="true" keep_aspect_ratio="true" height="180" width="300" image_alignment="centre">
            <layout class="stick_to_sides_attachment" alignment="left" inset="-5"/>
            <layout class="stick_to_sides_attachment" alignment="top" inset="3"/>
            </widget>
          </widget>

这一部分应该是显示球员图片的,后面的height和width就是高和宽,试试看缩小点看看,毕竟我这是宽屏没法试

yuan880127 发表于 2012-8-17 16:43

回复 17# kiralore


    嗯,已经好了,多谢
页: [1]
查看完整版本: 使用原来版本的教练大头像补丁出现问题