Exemple #1
0
        private void initializaDetailTable()
        {
            recipeTable = new Table();
            recipeTable.debugAll();
            var windowFrame = Core.content.Load <Texture2D>("UI/window_frame_grey");

            var back = new SubtextureDrawable(new Nez.Textures.Subtexture(windowFrame));

            back.setPadding(0, 620, 0, 540);
            recipeTable.setBackground(back);

            allContain.add(recipeTable).top().right().pad(25);


            detailScrollPane = new ScrollPane(null, Skin.createDefaultSkin());
            recipeTable.addElement(detailScrollPane).setPosition(30, 30).fillParent = true;

            detailMessageTable = new Table();
            detailScrollPane.setWidget(detailMessageTable);
        }