The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:
其他好文 时间:
2015-05-08 01:30:06
阅读次数:
127
import org.eclipse.swt.SWT;import org.eclipse.swt.events.SelectionEvent;import org.eclipse.swt.events.SelectionListener;import org.eclipse.swt.graphic...
分类:
其他好文 时间:
2015-05-07 21:52:40
阅读次数:
199
最近,在Unity5.0.1中遇到了NGUI中的一些BUG问题,比如,你用NGUI开发进行拖拽Sprite
的功能,或者在一些Lable上使用了dynamic font, 然后把它编译成可在PC上运行的exe可执行
文件 (记得 Player Settings的Resolution中勾上Resizealbe Window), 当它运行时,这时你就
会发现问题来了,比如打开时是720*480...
分类:
编程语言 时间:
2015-05-07 18:56:41
阅读次数:
189
在MFC中,static text控件可以很方便的显示文字,但是如果想修改字体风格大小以及颜色,应该怎么修改呢?1.要修改字体,需要用到CFont类,这个类可以修改字体的各种属性1 CFont m_font;2 m_font.CreateFont(14,0,0,0,FW_BOLD,FALSE,FAL...
分类:
编程语言 时间:
2015-05-07 15:53:33
阅读次数:
211
_psdTextField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:NSLocalizedString(@"密码", nil) attributes:@{NSFontAttributeName:_psdTextField.font,NSForegroundColorAttributeName:[UICol...
分类:
移动开发 时间:
2015-05-07 14:40:55
阅读次数:
129
【一些设置】1.eclipse里的中文注释比较小 Window --> Preferences --> General --> Appearance --> Colors and Fonts --> Basic --> Text Font --> Edit如果在新版eclipse中中文注释明显小于....
分类:
系统相关 时间:
2015-05-07 12:03:24
阅读次数:
182
Problem:
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like
this: (you may want to display this pattern in a fixed font for better legibility)
P A H ...
分类:
编程语言 时间:
2015-05-07 00:59:08
阅读次数:
176
The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:
其他好文 时间:
2015-05-06 21:04:50
阅读次数:
182
@charset "utf-8";/* CSS Document */body{ background-color:#F00}#p1{ color:#3F3}.name{ color:#30C}b,i{ color:#6C6}#p1 font{ color:#000}p...
分类:
Web程序 时间:
2015-05-06 16:53:24
阅读次数:
158
package com.founder.cms.watermark.util;import java.awt.AlphaComposite;import java.awt.Color;import java.awt.Font;import java.awt.Graphics2D;import jav...
分类:
其他好文 时间:
2015-05-06 16:47:48
阅读次数:
203