urho icon indicating copy to clipboard operation
urho copied to clipboard

White textures when trying to render a GUI Window/LineEdit

Open RichardB01 opened this issue 7 years ago • 4 comments

testingsharp desktop_2018-05-11_14-00-54

RichardB01 avatar May 11 '18 13:05 RichardB01

testingsharp desktop_2018-05-11_14-01-33

RichardB01 avatar May 11 '18 13:05 RichardB01

            var window = new Window();
            UI.Root.AddChild(window);

            // Set Window size and layout settings
            window.SetMinSize(384, 192);
            window.SetLayout(LayoutMode.Vertical, 6, new IntRect(6, 6, 6, 6));
            window.SetAlignment(HorizontalAlignment.Center, VerticalAlignment.Center);
            window.Name = "Window";

RichardB01 avatar May 11 '18 13:05 RichardB01

Yeah, I had that.. you have to manually load the style xml, default or not.

hwd71 avatar Nov 14 '18 20:11 hwd71