Skip to content

Commit b48a3f3

Browse files
FiveTechSoftclaude
andcommitted
layout(win): keep IDE bar at full height (no -70 trim) — palette button row visible
Owner's call: prefer the visible palette over the bar-trim. This re-exposes the "IDE self-exits ~6-9s after startup on >=1920px screens" issue documented in the ChangeLog. Do not re-add the trim without asking. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6b92edb commit b48a3f3

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

bin/hbbuilder_win.exe

648 KB
Binary file not shown.

source/hbbuilder_win.prg

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,11 @@ function Main()
107107
// Bar must fit: title (~30) + menu (~25) + 2 stacked toolbars (~80) + palette
108108
// tabs+buttons (~75) ≈ 210. Windows can swallow ~25px of menu height during
109109
// SW_SHOWMAXIMIZED, so we ask for a bit more than we strictly need.
110+
// Full height so the component-palette button row is visible.
111+
// WARNING: this re-introduces the "IDE self-exits ~6-9s after startup on
112+
// >=1920px screens" issue (see ChangeLog). Kept at the owner's request —
113+
// do not re-add the -70 trim without asking.
110114
nBarH := Max( 200, Int( 200 * nUIScale ) ) // title + menu + 2 toolbars + palette
111-
// KNOWN: on screens >= 1920px wide, leaving the bar at full height makes the
112-
// IDE self-exit (clean, code 0) ~6-9s after startup — see ChangeLog. Trimming
113-
// the bar (palette region collapses, the buggy path never runs) sidesteps it.
114-
if nScreenW >= 1920
115-
nBarH -= 70
116-
endif
117115
// Inspector: wide enough for the 230-px property/event name column plus a
118116
// usable value column. Grows with screen size.
119117
nInsW := Max( 330, Max( Int( 360 * nUIScale ), Int( nScreenW * 0.21 ) ) )

0 commit comments

Comments
 (0)