Excel自定义功能区UI日语文本换行 [英] Excel Custom Ribbon UI Japanese text wrapping

查看:261
本文介绍了Excel自定义功能区UI日语文本换行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Excel应用程序中有一个自定义功能区。我已将其翻译为日语,并且他们报告文本未正确包装。我只是将XML作为label ="分割"。但是当色带涂料时,它将两个字符
包装在不同的行上。两个角色之间没有空格,所以我不明白为什么会这样。我的日本客户解释说,单独行中的字符并不代表同一件事。但Ribbon UI API似乎没有为我提供
对包装的任何控制。该怎么做?查看它的绘制截图:

I have a custom ribbon in an Excel application. I have translated it to Japanese for a customer and they are reporting that the text does not wrap correctly. I simply have the XML as label="分割". But when the ribbon paints it wraps the two characters onto separate lines. There is no space between the two characters so I do not understand why this happens. My Japanese customer explains that the characters on separate lines does not mean the same thing. But the Ribbon UI API does not seem to provide me with any control over the wrapping. How should this be done? See screenshot of how it paints:

推荐答案

Hi Shaun,

Hi Shaun,

>>但Ribbon UI API似乎没有为我提供对包装的任何控制。

>> But the Ribbon UI API does not seem to provide me with any control over the wrapping.

你的意思是你在日语Excel下测试label ="分割"版本或英文Excel版本?我用英文版和Excel标签"分割"进行了测试,我可以重现你的问题。另外,我用日语Excel进行了测试,标签为"セグメンテーション",
,我可以重现你的问题。作为我的测试,如果将ControlSize设置为RibbonControlSizeRegular,它将不会扭曲文本。所以我建议尝试使用RibbonControlSizeRegular。

Do you mean you test label="分割" under Japanese Excel version or English Excel version? I made a test with Excel with English version and label "分割", and I could reproduce your issue. Also, I made a test with Japanese Excel with label "セグメンテーション", and I could reproduce your issue. As my test, if you set ControlSize as RibbonControlSizeRegular, it would not warp text. So I suggest try RibbonControlSizeRegular.

对于另一种解决方法,我建议您使用带有标签的图像并使用空格设置标签文本。


For another workaround, I suggest you use an image with label and set text of label with space.

对于这个问题,我建议您通过以下链接提交反馈:

参考: https://excel.uservoice.com/

For this issue, I suggest you submit a feedback in the link below:
Reference: https://excel.uservoice.com/

最诚挚的问候,

Best Regards,

爱德华


这篇关于Excel自定义功能区UI日语文本换行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆