경고창의 폰트 조절..... 정보
JavaScript 경고창의 폰트 조절.....
본문
<mx:Style>
Alert {
fontName: "돋움";
fontSize: 12;
}
</mx:Style>
Alert {
fontName: "돋움";
fontSize: 12;
}
</mx:Style>
[이 게시물은 관리자님에 의해 2011-10-31 16:46:37 Flex에서 이동 됨]
추천
0
0
댓글 1개

<?xml version="1.0"?>
<!-- DataGrid control example. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
]]>
</mx:Script>
<mx:Style>
Alert{
color : #0f3177;
title-style-name : “alertTitle”;
header-height:19;
border-thickness: 1;
drop-shadow-enabled: true;
drop-shadow-color :#d1ddf7;
background-color: #ffffff;
corner-radius :6;
border-style :solid;
header-colors : #90a4d1, #5970a0;
footer-colors : #9db6d9, #ffffff;
border-color : #5970a0;
}
.alertTitle{
font-family :Verdana;
font-size :10;
font-weight :bold;
text-align :left;
color :#ffffff;
}
</mx:Style>
<mx:Button label="Button control" color="#0000FF" fontWeight="bold"
click="Alert.show('Button selected!','알려드립니다!');"/>
<!-- DataGrid control example. -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
]]>
</mx:Script>
<mx:Style>
Alert{
color : #0f3177;
title-style-name : “alertTitle”;
header-height:19;
border-thickness: 1;
drop-shadow-enabled: true;
drop-shadow-color :#d1ddf7;
background-color: #ffffff;
corner-radius :6;
border-style :solid;
header-colors : #90a4d1, #5970a0;
footer-colors : #9db6d9, #ffffff;
border-color : #5970a0;
}
.alertTitle{
font-family :Verdana;
font-size :10;
font-weight :bold;
text-align :left;
color :#ffffff;
}
</mx:Style>
<mx:Button label="Button control" color="#0000FF" fontWeight="bold"
click="Alert.show('Button selected!','알려드립니다!');"/>