gui: auto window sizing to fit all widgets; editor: object lightmap preview, windows sizing updates;
This commit is contained in:
@@ -6,7 +6,7 @@ using namespace wi::scene;
|
||||
void ScriptWindow::Create(EditorComponent* _editor)
|
||||
{
|
||||
editor = _editor;
|
||||
wi::gui::Window::Create(ICON_SCRIPT " Script", wi::gui::Window::WindowControls::COLLAPSE | wi::gui::Window::WindowControls::CLOSE);
|
||||
wi::gui::Window::Create(ICON_SCRIPT " Script", wi::gui::Window::WindowControls::COLLAPSE | wi::gui::Window::WindowControls::CLOSE | wi::gui::Window::WindowControls::FIT_ALL_WIDGETS_VERTICAL);
|
||||
SetSize(XMFLOAT2(520, 80));
|
||||
|
||||
closeButton.SetTooltip("Delete Script");
|
||||
|
||||
Reference in New Issue
Block a user