gui: auto window sizing to fit all widgets; editor: object lightmap preview, windows sizing updates;

This commit is contained in:
Turánszki János
2024-12-29 11:15:50 +01:00
committed by GitHub
parent 2a4bb4be3c
commit dfcc61bd6d
40 changed files with 162 additions and 91 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ void SpriteWindow::Create(EditorComponent* _editor)
{
editor = _editor;
wi::gui::Window::Create(ICON_SPRITE " Sprite", wi::gui::Window::WindowControls::COLLAPSE | wi::gui::Window::WindowControls::CLOSE);
wi::gui::Window::Create(ICON_SPRITE " Sprite", wi::gui::Window::WindowControls::COLLAPSE | wi::gui::Window::WindowControls::CLOSE | wi::gui::Window::WindowControls::FIT_ALL_WIDGETS_VERTICAL);
SetSize(XMFLOAT2(670, 1540));
closeButton.SetTooltip("Delete Sprite");