{"id":2010,"date":"2015-02-06T01:13:22","date_gmt":"2015-02-05T17:13:22","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=2010"},"modified":"2015-02-06T01:13:22","modified_gmt":"2015-02-05T17:13:22","slug":"fmx-%e5%a6%82%e4%bd%95%e8%a7%a3%e5%86%b3%e4%b8%80%e4%b8%aa%e8%ae%be%e7%bd%ae%e4%ba%86style%e7%9a%84%e6%8e%a7%e4%bb%b6%e6%97%a0%e6%b3%95%e8%b0%83%e6%95%b4%e9%ab%98%e6%88%96%e5%ae%bd%e7%9a%84%e9%97%ae","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=2010","title":{"rendered":"[FMX] \u5982\u4f55\u89e3\u51b3\u4e00\u4e2a\u8bbe\u7f6e\u4e86Style\u7684\u63a7\u4ef6\u65e0\u6cd5\u8c03\u6574\u9ad8\u6216\u5bbd\u7684\u95ee\u9898"},"content":{"rendered":"<p>\u8fd9\u4e2a\uff0c\u6211\u4e0d\u77e5\u9053\u600e\u4e48\u89e6\u53d1\u7684\uff0c\u53cd\u6b63\u63a7\u4ef6\u6837\u5f0f\u7684 FixedHeight \u88ab\u8bbe\u7f6e\u4e3a\u4e86\u4e00\u4e2a\u56fa\u5b9a\u7684\u9ad8\u5ea6\uff0c\u95ee\u9898\u662f\u6211\u6ca1\u6709\u8bbe\u7f6e FixedHeight \u5c5e\u6027\uff0c\u8003\u8651\u5230\u4e07\u4e00\u6709\u4eba\u4e0d\u5174\u4e0e\u6211\u540c\u7f6a\uff0c\u6240\u4ee5\u7279\u610f\u544a\u8bc9\u5927\u5bb6\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n<p>1\u3001\u5728 FMX Style Designer \u5c06\u6837\u5f0f\u4fdd\u5b58\uff08 Save \uff09\u5230\u6587\u4ef6\uff0c\u6bd4\u5982 a.style\uff1b<\/p>\n<p>2\u3001\u7528 IDE \u6216\u8005\u5176\u5b83\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00\u4fdd\u5b58\u7684 a.style\uff1b<\/p>\n<p>3\u3001\u627e\u5230 FixedHeight \uff08\u5bf9\u5e94\u4e8e\u56fa\u5b9a\u9ad8\u5ea6\uff09\u6216 FixedWidth \uff08\u5bf9\u5e94\u4e8e\u56fa\u5b9a\u5bbd\u5ea6\uff09\uff0c\u7136\u540e\u5220\u9664\u8be5\u884c\uff1b<\/p>\n<p>4\u3001\u56de\u5230 FMX Style Designer \u5c06\u6837\u5f0f a.style \u52a0\u8f7d\uff08 Load \uff09\u8fdb\u6765\uff1b<\/p>\n<p>5\u3001\u70b9\u9009 Apply and close \u5e94\u7528\u6837\u5f0f\uff0c\u641e\u5b9a\uff01\u73b0\u6210\u4f60\u8bd5\u8bd5\u770b\uff0c\u5e94\u8be5\u91cd\u65b0\u80fd\u8c03\u6574\u5c3a\u5bf8\u4e86\u3002<\/p>\n<p>PS: FMX Style Designer \u73b0\u5728\u7b80\u76f4\u5c31\u662f\u201c\u9ebb\u70e6\u5236\u9020\u8005\u201d\u5440\uff0c\u5e0c\u671b EMB \u597d\u597d\u6539\u8fdb\uff0c\u53ca\u65e9\u89e3\u51b3\u5404\u79cd\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e2a\uff0c\u6211\u4e0d\u77e5\u9053\u600e\u4e48\u89e6\u53d1\u7684\uff0c\u53cd\u6b63\u63a7\u4ef6\u6837\u5f0f\u7684 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[69,8,21],"tags":[149,290,234,327,328],"class_list":["post-2010","post","type-post","status-publish","format-standard","hentry","category-c-builder","category-delphi","category-misc","tag-fmx","tag-290","tag-234","tag-327","tag-328"],"views":3703,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2010"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2010\/revisions"}],"predecessor-version":[{"id":2011,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2010\/revisions\/2011"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}