TFS HtmlFieldControl height is too large in VS 2012


in vs 2010, htmlfieldcontrol height proportional group next it. in vs 2012, there appears large minimum height can't control. i've tried adding height="200" tag, ignored. bug, or missing something?

this xml group field resides in:

            <group label="build update notes:">
              <column percentwidth="100">
                <control fieldname="contacts.qa.buildupdatemessage" type="htmlfieldcontrol" labelposition="top" dock="fill" minimumsize="(0,100)" height="200" />
              </column>
            </group>

below full (reduced) xml control in context:

<q1:witd application="work item type editor" version="1.0" xmlns:q1="http://schemas.microsoft.com/visualstudio/2008/workitemtracking/typedef">
  <workitemtype name="project">
    <description>...</description>
    <fields>
 ...
    </fields>
    <workflow>
 ...
    </workflow>
    <form>
      <layout>
        <group>
          <column percentwidth="100">
            <control ... />
          </column>
          <column fixedwidth="150">
            <control ... />
          </column>
        </group>
        <group>
          <column fixedwidth="300">
            <group label="status">
              <column percentwidth="100">
             <control ... />
             <control ... />
             <control ... />
             <control ... />
             <control ... />
             <control ... />
              </column>
            </group>
            <group label="metrics">
              <column percentwidth="100">
             <control ... />
             <control ... />
             <control ... />
             <control ... />
             <control ... />
              </column>
            </group>
          </column>
          <column fixedwidth="300">
            <group label="release info">
              <column percentwidth="100">
             <control ... />
             <control ... />
             <control ... />
             <control ... />
             <control ... />
             <control ... />
              </column>
            </group>
            <group label="qa planning">
              <column percentwidth="100">
             <control ... />
             <control ... />
             <control ... />
             <control ... />
             <control ... />
              </column>
            </group>
          </column>
          <column percentwidth="30">
            <group label="classification">
              <column percentwidth="100">
             <control ... />
             <control ... />
             <control ... />
             <control ... />
             <control ... />
              </column>
            </group>
            <group label="build update notes:">
              <column percentwidth="100">
                <control fieldname="contacts.qa.buildupdatemessage" type="htmlfieldcontrol" labelposition="top" dock="fill" minimumsize="(0,100)" height="200" />
              </column>
            </group>
          </column>
        </group>
        <tabgroup>
     ...
        </tabgroup>
      </layout>
    </form>
  </workitemtype>
</q1:witd>



hi nathan,

thanks post!

can tell me how did edit work item template, form xml file directly or open process editor (after tfs power tools have installed).

i opened 1 work item template process editor in visual studio 2012 , performed described, , found same in visual studio 2010. also cannot find height attribute. height attribute included in minimumsize attribute, if want set height of control, set height in minimumsize attribute.

minimumsize, specifies minimum size in pixels control should occupy in form. syntax specified in (width,height). attribute type sizetype.

pattern value: ^\(\d+\,\d+\)$

pattern value example: (100,100).

for more information, please refer http://msdn.microsoft.com/en-us/library/aa337625(v=vs.110).aspx

please feel free if helps!

best regards,


cathy kong [msft]
msdn community support | feedback us



Archived Forums V  >  Team Foundation Server - Project Management & Work Item



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........