flex (FB 4.5) 按钮上的多行标签? [英] Multi-line labels on flex (FB 4.5) buttons?

查看:18
本文介绍了flex (FB 4.5) 按钮上的多行标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Flash Builder 4.5 中制作一个多行按钮(特定的换行符,两者都左对齐),第二行是斜体.我可以通过制作一个按钮并在其上放置一个标签来做到这一点,但它破坏了该标签所在的按钮功能.

I'm trying to make a button in Flash Builder 4.5 that is multi-lined (specific line break, both are left justified), with the second line being italicized. I can do this by making a button, and throwing a label on top of it, but it wrecks the button functionality where that label sits.

是否有一个简单的功能可以做到这一点,或者它是否开始进入自定义皮肤?(我看过它,但我对 FB 还很陌生,而且它看起来像一个陡峭的学习曲线)

Is there an easy functionality to do this, or is it starting to step into custom skins? (I've looked at it, but I'm pretty new to FB, and it looks like a steep learning curve)

推荐答案

是的,您绝对想要换肤.这相当容易,因为它会为您生成所有代码.您只需要找到按钮的标签并根据您的意愿进行修改即可.

Yeah, you definitely want skinning. It's fairly easy since it generates all the code for you. You just need to find the label for the button and modify it to your will.

很抱歉,但这是正确执行此操作的唯一方法.如果你想做的只是一起破解它,我认为你不应该接触代码......

Sorry to say, but this is the only way to do it properly. If what you're trying to do is just hack it together, I don't think you should be touching code...

这篇关于flex (FB 4.5) 按钮上的多行标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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