---
title: "EXT 在FormPanel中显示图片的例子"
author: "caoxiping"
date: "2010-11-18T21:43:15Z"
tags: []
categories: ["Web前端"]
slug: "ext-formpanel"
draft: false
lastmod: "2010-11-18T21:43:15Z"
id: 815586
url: "https://caoxiping.iteye.com/blog/815586"
---

01. {
02. columnWidth: .5,
03. layout: 'form',
04. items: [
05. {
06. xtype : 'box',
07. anchor : '',
08. anchor: '95%',
09. //width:100,
10. //height:100,
11. autoEl : {
12. tag : 'div',
13. style : 'margin:8px 0 8px 105px',
14. children : [
15. {
16. tag : 'img',
17. qtip : 'You can also have a tooltip on the image',
18. width:100,
19. height:100,
20. src : '/edu'+this.image
21. }]
22. }
23. }]
24. }