• Flex组件样式


    Application{
        backgroundColors:#000000,#3f3f3f;
        backgroundImage:Embed(source="/style/background.jpg");
        backgroundSize:"100%";
        fontSize:14;
    }
    
    Button{
        upSkin:Embed(source="");//弹起时
        overSkin:Embed(source="");
        downSkin:Embed(source="");
        disabledSkin:Embed(source="");//不可用时的效果
        color:#000000;//字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
    }
    
    ButtonBar{
        buttonStyleName:"buttonBarButton";//设置按钮样式
        firstButtonStyleName:"firstButtonBarButton"//设置第一个按钮样式
        lastButtonStyleName:""
    }
    
    ColorPicker{  //颜色选择器
        disabledSkin:Embed(source="");
        downSkin:Embed(source="");
        overSkin:Embed(source="");
        upSkin:Embed(source="");
    }
    
    ComboBox{  
        downSkin:Embed(source="");
        overSkin:Embed(source="");
        upSkin:Embed(source="");
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
        dropDownStyleName:"dropDown";//设置下拉样式
        highlightAlphas:.5,.8;//设置高光透明度
        fontWeight:normal;//设置字体粗细
    }
    .dropDown{
        backgroundColor:
        backgroundAlpha:.9;
        borderStyle:solid;//设置边框样式
        borderThickness:0;//设置边框宽度
        borderColor:
        roundedCorners:5;//设置圆角度
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
        rollOverColor:#000000;//移至组件时的颜色
    }
    
    DataGrid{  //以表格形式显示数据
        headerStyleName:"dataGridHeader";//标题样式
        headerColors:#,#;  //标题文本颜色
        rollOverColor:
        selectionColor:
        disabledColor:
        selectiondDisabledColor:
        alternatingItemColors:#,#;//改变中的项的颜色
    }
    .dataGridHeader{
        color:
    }
    
    ProgressBar{  //进度条
        barSkin:Embed(source="");//进度条
        trackSkin:Embed(source="");//轨道
    }
    
    Image{
        brokenImageSkin:Embed("");//加载出错时的效果
    }
    
    MenuBar{
        fillColor:  //填充颜色
        backgroundColor:
        backgroundAlpha:
        alpha:  //组件透明度
        textSelectedColor:
    }
    
    RadioButton{  //单选
        disabledIcon:Embed("");
        downIcon:Embed("");
        overIcon:Embed("");
        upIcon:Embed("");
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
    }
    
    CheckBox{  //多选
        disabledIcon:Embed("");
        downIcon:Embed("");
        overIcon:Embed("");
        upIcon:Embed("");
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
    }
    
    HSlider{  //横向滚动条
        thumbDisabledSkin:Embed(source="");//指针不可用时
        thumbDownSkin:Embed(source="");
        thumbOverSkin:Embed(source="");
        thumbUpSkin:Embed(source="");
        trackHightlightSkin:Embed(source="");//轨道高光效果
        trackSkin:Embed(source="");//轨道效果
    }
    
    TitleWindow{
        closeButtonDisabledSkin:Embed("");
        closeButtonDownSkin:Embed("");
        closeButtonOverSkin:Embed("");
        closeButtonUpSkin:Embed("");
    
    
    }
    

  • 相关阅读:
    Java入门3.2---线程池
    Java入门3.1---多线程
    打开ppt报"powerpoint无法加载mathtype加载项"错误
    LATEX排版总结
    casbin 权限系统
    Go netpoll I/O 多路复用构建原生网络模型之源码深度解析
    使用winsw包装服务将nginx包装为Windows服务
    Node.js 的模块系统
    一文读懂 babel7 的配置文件加载逻辑
    vue-cli是什么?和 webpack是什么关系?
  • 原文地址:https://www.cnblogs.com/frostbelt/p/1800381.html
Copyright © 2020-2023  润新知