1 打开建好的T32 Cocos2dx-3.2的一个项目
2 设置Cocos显示窗口的位置是在AppDelegate.cpp中:
3 设置自适应窗口大小的代码是在上面的代码后面紧接着就添加:
glview->setDesignResolutionSize(480,320, ResolutionPolicy::EXACT_FIT);
...
分类:
其他好文 时间:
2014-11-16 08:14:20
阅读次数:
150
var reportsPanel = Ext.create('Ext.panel.Panel', {
id:'reportsPanel',
layout: 'fit',
tbar: [{
text: '保存报表',
handler: function() {
Ext.MessageBox.confirm('确认下载', '您...
分类:
其他好文 时间:
2014-11-07 17:04:01
阅读次数:
221
Go hastypes and valuesrather than classes and objects. So can a language without classes or objects be object-oriented? While Go may not fit the typical mold of an OOP language, it does ?provide m...
分类:
其他好文 时间:
2014-11-06 15:14:02
阅读次数:
157
可尝试在布局里设置ListView:
android:scrollingCache="false"或者在代码里设置:
setScrollingCacheEnabled(false);...
webapp meta MobileOptimized MobileOptimized 移动优化fit-to-screen网站自适应屏幕如果content的值小于或等于screen width 网站自适应屏幕fit-to-screen将被关闭网站不会随着浏览器拉伸缩放如果content的值大于scr...
分类:
移动开发 时间:
2014-11-04 10:45:36
阅读次数:
317
webapp meta MobileOptimized
MobileOptimized 移动优化
fit-to-screen网站自适应屏幕
如果content的值小于或等于screen width 网站自适应屏幕fit-to-screen将被关闭网站不会随着浏览器拉伸缩放
如果content的值大于...
分类:
移动开发 时间:
2014-11-03 19:17:44
阅读次数:
191
1 imageView.setScaleType(ImageView.ScaleType.FIT_XY ); 1 这里我们重点理解ImageView的属性android:scaleType,即ImageView.setScaleType(ImageView.ScaleType)。android:s....
分类:
移动开发 时间:
2014-11-01 11:38:12
阅读次数:
195
这样写的时候,datagrid显示就不是正常的( fit:true ),如图:然后,查看官方文档发现,应该这样写才对:
分类:
Web程序 时间:
2014-10-27 18:56:20
阅读次数:
177
http://fit.c2.com/fit/files/LispPlatform/lisp/clisp-2.28/src/errwin32.d # Calls a function, passing it information about a Win32 error code. # get_O.....
var_window=newExt.Window({title:‘窗口‘,width:‘800‘,height:500,modal:true,//模态的后面的页面就不能点了frame:true,layout:‘fit‘,items:[...]});加上modal:true,这个配置项即可
分类:
Web程序 时间:
2014-10-15 16:36:11
阅读次数:
151