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
@@ -34,7 +34,7 @@ using namespace SoundWindow_Internal;
void SoundWindow::Create(EditorComponent* _editor)
{
editor = _editor;
wi::gui::Window::Create(ICON_SOUND " Sound", wi::gui::Window::WindowControls::COLLAPSE | wi::gui::Window::WindowControls::CLOSE);
wi::gui::Window::Create(ICON_SOUND " Sound", wi::gui::Window::WindowControls::COLLAPSE | wi::gui::Window::WindowControls::CLOSE | wi::gui::Window::WindowControls::FIT_ALL_WIDGETS_VERTICAL);
SetSize(XMFLOAT2(440, 400));
closeButton.SetTooltip("Delete SoundComponent");