zoukankan      html  css  js  c++  java
  • Flex利用titleIcon属性给Panel容器标题部添加一个ICON图标

    Flex利用titleIcon属性,给Panel容器标题部添加一个ICON图标。

    让我们先来看一下Demo可以右键View Source或点击这里察看源代码):

    下面是完整代码(或点击这里察看):

    Download: main.mxml<?xml version="1.0" encoding="utf-8"?> 
    <mx:Application name="Panel_titleIcon_test" 
            xmlns:mx="http://www.adobe.com/2006/mxml
            layout="vertical" 
            verticalAlign="middle" 
            backgroundColor="white"> 
      
        <mx:String id="lorem" source="lorem.txt" /> 
      
        <mx:Panel id="panel" 
                title="Panel title" 
                titleIcon="@Embed('assets/Panel.png')"> 
            <mx:Text id="txt" 
                    text="{lorem}" 
                    width="500" 
                    textAlign="justify" 
                    selectable="false" /> 
        </mx:Panel> 
      
    </mx:Application>

    本文转自:http://blog.minidx.com/2008/10/19/1556.html

  • 相关阅读:
    倒水问题(BFS)
    小程序整理
    微信小程序--录音
    mpvue
    hbuilder 打包 vueAPP
    react rem
    react 关闭eslint 配置
    react axios 配置
    react 路由之react-router-dom
    react mobx 装饰器语法配置
  • 原文地址:https://www.cnblogs.com/exmyth/p/3262039.html
Copyright © 2011-2022 走看看