首页 > 其他 > 详细

XE Button Color

时间:2015-10-08 19:55:39      阅读:302      评论:0      收藏:0      [点我收藏+]

XE Button Color,FMX Button 颜色

http://blogs.embarcadero.com/sarinadupont/2014/05/20/customize-your-mobile-ui-in-xe6/

 

Easily customize your mobile UI in XE6

In RAD Studio XE6, we introduced a new property for TSpeedButton, TButton and TToolbar called ‘Tint’. The Tint property is enabled based on your StyleLookUp selection for the particular component.

For example, if you have a TSpeedButton selected with StyleLookUp = actiontoolbutton, you will see a Tint property in the Object Inspector called IconTintColor since this style element consists of a glyph.

技术分享

For text based buttons, such as StyleLookUp = listitembutton, you can change the TintColor and also the Font Color. In the case of iOS 7, this will adjust the outline color of the transparent button (and fill color when the button is clicked) and on Android, it will change the fill color. For your font, you can also adjust the color depending on the button state (i.e. focused, pressed etc.).

技术分享

Using the new Tint support allows you to quickly change the user interface theme of your mobile applications without editing style files.

Posted by sarinadupont on May 20th, 2014 under Android, C++builder, Delphi, FireMonkey, Uncategorized, XE6, ednfront, iOS |                 

XE Button Color

原文:http://www.cnblogs.com/cb168/p/4861847.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!