Skip to content

Commit 8603a5b

Browse files
committed
v0.2.55: Add SetNextWindowSize for proper menu area
1 parent 1251b5d commit 8603a5b

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.52 (4aca9bc)
1+
0.2.55 (c834d34)

pcode-settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"window_w": 527,
3-
"window_h": 322,
2+
"window_w": 586,
3+
"window_h": 583,
44
"dark_theme": true,
55
"show_status_bar": false,
66
"word_wrap": false,

src/editor_app.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ std::string EditorApp::get_version() {
167167
} else {
168168
version = "0.2.54"; // fallback if VERSION file missing
169169
}
170-
return "pCode Editor version " + version;
170+
return "pCode Editor version 0.2.52 (4aca9bc)" + version;
171171
}
172172

173173
// ============================================================================
@@ -1878,6 +1878,7 @@ void EditorApp::render() {
18781878
// Main window - Editor with menu, sidebar, editor area all inside
18791879
ImGuiViewport* viewport = ImGui::GetMainViewport();
18801880
ImGui::SetNextWindowPos(viewport->Pos, ImGuiCond_Always);
1881+
ImGui::SetNextWindowSize(viewport->Size, ImGuiCond_Always);
18811882
bool editor_open = ImGui::Begin("Editor", nullptr, ImGuiWindowFlags_NoBringToFrontOnFocus);
18821883
if (editor_open) {
18831884
// Render menus - File Edit View Help at top

0 commit comments

Comments
 (0)