diff --git a/desktop/gui.cpp b/desktop/gui.cpp index 7d761fd..227b299 100644 --- a/desktop/gui.cpp +++ b/desktop/gui.cpp @@ -931,8 +931,8 @@ EsWindow *EsWindowCreate(EsInstance *instance, EsWindowStyle style) { window->state |= UI_STATE_Z_STACK; } else if (style == ES_WINDOW_INSPECTOR) { EsSyscall(ES_SYSCALL_WINDOW_SET_PROPERTY, window->handle, ES_WINDOW_SOLID_TRUE, 0, ES_WINDOW_PROPERTY_SOLID); - window->SetStyle(ES_STYLE_PANEL_INSPECTOR_WINDOW_ROOT); - window->mainPanel = EsPanelCreate(window, ES_ELEMENT_NON_CLIENT | ES_CELL_FILL, ES_STYLE_PANEL_INSPECTOR_WINDOW_CONTAINER); + window->SetStyle(ES_STYLE_PANEL_FILLED); + window->mainPanel = EsPanelCreate(window, ES_ELEMENT_NON_CLIENT | ES_CELL_FILL); EsRectangle bounds = { 10, 600, 10, 500 }; EsSyscall(ES_SYSCALL_WINDOW_MOVE, window->handle, (uintptr_t) &bounds, 0, ES_WINDOW_MOVE_ADJUST_TO_FIT_SCREEN); } else if (style == ES_WINDOW_TIP || style == ES_WINDOW_PLAIN) { diff --git a/desktop/styles.header b/desktop/styles.header index 980f2ce..bfb943f 100644 --- a/desktop/styles.header +++ b/desktop/styles.header @@ -81,8 +81,6 @@ define ES_STYLE_PANEL_FILLED (ES_STYLE_CAST(1313)) define ES_STYLE_PANEL_FORM_TABLE (ES_STYLE_CAST(1671)) define ES_STYLE_PANEL_GROUP_BOX (ES_STYLE_CAST(1315)) define ES_STYLE_PANEL_INSET (ES_STYLE_CAST(1641)) -private define ES_STYLE_PANEL_INSPECTOR_WINDOW_CONTAINER (ES_STYLE_CAST(1317)) -private define ES_STYLE_PANEL_INSPECTOR_WINDOW_ROOT (ES_STYLE_CAST(1319)) define ES_STYLE_PANEL_POPUP (ES_STYLE_CAST(1331)) define ES_STYLE_PANEL_SHEET (ES_STYLE_CAST(1333)) private define ES_STYLE_PANEL_SHUTDOWN_OVERLAY (ES_STYLE_CAST(1335)) diff --git a/res/Theme Source.dat b/res/Theme Source.dat index 97d7923..e14530b 100644 Binary files a/res/Theme Source.dat and b/res/Theme Source.dat differ diff --git a/res/Theme.dat b/res/Theme.dat index 5c57f4a..f0d371b 100644 Binary files a/res/Theme.dat and b/res/Theme.dat differ