PageRenderTime 29ms CodeModel.GetById 20ms app.highlight 7ms RepoModel.GetById 0ms app.codeStats 0ms

/flas/src/Fl_Button14.as

https://bitbucket.org/HopeSky/mars_nd2d
ActionScript | 26 lines | 14 code | 8 blank | 4 comment | 0 complexity | b28824bc80aa740d950bbf81abd12b81 MD5 | raw file
 1package 
 2{
 3 
 4
 5
 6	public class Fl_Button14 extends Fl_Button
 7	{
 8
 9
10		public function Fl_Button14()
11		{
12			// constructor code
13		}
14		
15		/**
16		 * 设置标签的位置和大小
17		 */
18		override	protected function _setLabelPos():void 
19		{
20			super._setLabelPos();
21			this["txtLabel"].y = (m_nHeight - this["txtLabel"].height ) / 2+3;
22		}
23		
24	}
25
26}