Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一个三角形的按钮。
如何在flex中制作像三角形按钮一样的自定义组件?
我应该重写什么类?更新显示列表()?或 layoutChrom()?
根据您希望按钮的复杂程度,您可能可以使用这样的过程逃脱-除了使三角形外部的颜色对于“单击”和“未单击”状态相同。仅更改所选状态的三角形内的颜色。
如果您需要更复杂的东西,您可以从this或this开始以获得指导。