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
@@ -7,7 +7,7 @@ using namespace wi::scene;
void AnimationWindow::Create(EditorComponent* _editor)
{
editor = _editor;
wi::gui::Window::Create(ICON_ANIMATION " Animation", wi::gui::Window::WindowControls::COLLAPSE | wi::gui::Window::WindowControls::CLOSE);
wi::gui::Window::Create(ICON_ANIMATION " Animation", wi::gui::Window::WindowControls::COLLAPSE | wi::gui::Window::WindowControls::CLOSE | wi::gui::Window::WindowControls::FIT_ALL_WIDGETS_VERTICAL);
SetSize(XMFLOAT2(520, 540));
closeButton.SetTooltip("Delete AnimationComponent");