@Override
    protected void render(GLRootView root, GL11 gl) {
        Rect p = mPaddings;
        int height = getHeight() - p.top - p.bottom;
        StringTexture title = mText;
        //TODO: cut the text if it is too long
        title.draw(root, p.left, p.top + (height - title.getHeight()) / 2);
    }
@Override
    protected void render(GLRootView root, GL11 gl) {
        Rect p = mPaddings;
        int height = getHeight() - p.top - p.bottom;
        StringTexture title = mText;
       
        title.draw(root, p.left, p.top + (height - title.getHeight()) / 2);
    }
@override protected void render(glrootview root, gl11 gl) { rect p = mpaddings; int height = getheight() - p.top - p.bottom; stringtexture title = mtext; title.draw(root, p.left, p.top + (height - title.getheight()) / 2); }