我需要帮助.我有一个像Adium这样的应用程序,带有垂直滑块.但我的应用程序会根据内容更改窗口高度.如果屏幕高度低于我app'a窗口高度,我的窗口会自动降低高度.
当我尝试将setFrame用于我的窗口并将window.frame.size.height设置为高于屏幕高度时,没有任何反应.
所以问题是:如何设置窗框高于屏幕高度?
我有分页的网格.每页最多有10行.像这样:

我在CSS中为.x-grid3-scroller选择器设置渐变背景.一切都很好,而DirectStore有10个项目.但如果物品少于10件我就有这个问题:

如果为.x-grid3-scroller设置条带背景,则列中将没有边框.
如何将空行添加到网格以使网格适合底部?
我有一个app winth一个窗口和一个面板,附在这个窗口上.
脚步:
如何从面板设置焦点到主窗口(父窗口)?
我正在尝试更改文件
GameConfig.h:
#define GAME_AUTOROTATION kGameAutorotationNone
Run Code Online (Sandbox Code Playgroud)
和App代表:
//#if GAME_AUTOROTATION == kGameAutorotationUIViewController
[director setDeviceOrientation:kCCDeviceOrientationPortrait];
//#else
//[director setDeviceOrientation:kCCDeviceOrientationLandscapeLeft];
//#endif
Run Code Online (Sandbox Code Playgroud)
应用程序转为纵向模式,但Box2d机构强制重力向右
cocoa ×2
nswindow ×2
objective-c ×2
box2d ×1
box2d-iphone ×1
extjs ×1
focus ×1
grid ×1
javascript ×1
nspanel ×1
rows ×1