【问题标题】:XML : Ribbon Button not aligning to the Right in Office Ribbon X EditorXML:功能区按钮未与 Office 功能区 X 编辑器中的右侧对齐
【发布时间】:2020-12-14 09:22:29
【问题描述】:

Click here : To view the pic

注意:我想将按钮对齐到“右侧”。现在,按钮显示在左侧!我试过'style'属性,但没用!

<customUI xmlns = "http://schemas.microsoft.com/office/2009/07/customui">
  <tab id = "Tab" label="Macros">
      
    <group id = "Screener" label = "Search!">

      <button 
              id = "ScreenerAddInMSExcel" 
              label = "Screener" 
              image = "Screener_Icon"
              size = "large" 
              style="float: right"
              onAction = "GetDataFromScreener"/>
              
    </group>
        
  </tab>

</tabs>
    

【问题讨论】:

  • 据我所知没有'style'属性。
  • @freeflow - 是的....

标签: html excel xml vba ribbonx


【解决方案1】:

Fluent UI 没有为button 控件(元素)提供这样的属性。

在以下系列文章中了解有关支持的标签和属性的更多信息:

【讨论】:

  • 感谢您提及 Fluent UI。我不知道!
猜你喜欢
  • 2014-04-24
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-03-27
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多