后台-TaskFormGroup列宽

时间:2019-02-16 12:11:34

标签: excel xml vsto ribbonx

我尝试在自定义标签中添加一个自定义任务表单组。除列宽外,效果都很好。

使用Xml:

  <backstage>
    <tab idQ="x:BackstageTabMyCompany" label="MyCompany" insertAfterMso="TabPrint">
      <firstColumn>
        <taskFormGroup id="OpenDna_tfg" label="Applications___________________________" allowedTaskSizes="mediumSmall">
          <category idQ="x:BackstageTabDnaCategory">
            <task id="OpenDna_Task" imageMso="DistributionListSelectMembers" label="DNA_________________">
              <group id="OpenDna_SynchronizeGroup" getLabel="GetLabel" helperText="Blabla">
                <primaryItem>
                  <button id="OpenDna_SynchronizeButton" imageMso="SynchronizeData"
                          getLabel="GetLabel"
                          getEnabled="OpenDna_SynchronizeEnabled"
                          onAction="OpenDna_Synchronize"
                          isDefinitive="true"/>
                </primaryItem>
              </group>
            </task>
          </category>
        </taskFormGroup>
      </firstColumn>
    </tab>
  </backstage>

结果: Outlook result

左列非常窄,是否可以增加宽度?我试图添加空格,下划线,...

致谢

0 个答案:

没有答案