本文整理了Java中com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup.setHeight()
方法的一些代码示例,展示了WidgetGroup.setHeight()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WidgetGroup.setHeight()
方法的具体详情如下:
包路径:com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup
类名称:WidgetGroup
方法名:setHeight
暂无
代码示例来源:origin: libgdx/libgdx
setHeight(parentHeight);
invalidate();
代码示例来源:origin: libgdx/libgdx
setHeight(parentHeight);
invalidate();
代码示例来源:origin: peakgames/libgdx-stagebuilder
@Override
public void setHeight(float height) {
super.setHeight(height);
if (isVertical) {
measure = height;
}
}
代码示例来源:origin: kotcrab/vis-ui
@Override
public void setHeight (final float height) {
super.setHeight(height);
getActor().setHeight(height);
}
代码示例来源:origin: kotcrab/vis-ui
@Override
public void setBounds (final float x, final float y, final float width, final float height) {
super.setBounds(x, y, width, height);
getActor().setWidth(width);
getActor().setHeight(height);
// Child position omitted on purpose.
}
代码示例来源:origin: com.badlogicgames.gdx/gdx
setHeight(parentHeight);
invalidate();
内容来源于网络,如有侵权,请联系作者删除!