Skip to content

Commit e0f8852

Browse files
FiveTechSoftclaude
andcommitted
tweak(win): trim main IDE bar 70px on >=1920px-wide screens
nBarH -= 70 when nScreenW >= 1920; smaller resolutions keep the full height. Rebuilt bin/hbbuilder_win.exe (BCC x86). Updated ChangeLog. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 76bc8a4 commit e0f8852

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

ChangeLog.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ HarbourBuilder - Cross-platform visual IDE for Harbour
3737
gained a "Step 2b" that compiles it with rc.exe (MSVC) / brcc32
3838
(BCC) / windres (MinGW) and links the resource.
3939

40-
- tweak(win): main IDE bar (oIDE) is 60 px shorter on screens
41-
>= 1920 px wide (nBarH -= 60 when nUIScale >= 1.0). Added startup
42-
timing instrumentation (StTime() -> c:\HarbourBuilder\startup_timing.log)
40+
- tweak(win): main IDE bar (oIDE) is 70 px shorter on screens
41+
>= 1920 px wide (nBarH -= 70 when nScreenW >= 1920); smaller
42+
resolutions keep the full height (they need every pixel). Added
43+
startup timing instrumentation (StTime() -> c:\HarbourBuilder\startup_timing.log)
4344
covering each Main() phase and the sub-steps of CreatePalette().
4445

4546
- fix(win): in-IDE "Build Project" now uses the MSVC toolset whose

bin/hbbuilder_win.exe

670 KB
Binary file not shown.

source/hbbuilder_win.prg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ function Main()
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.
110110
nBarH := Max( 200, Int( 200 * nUIScale ) ) // title + menu + 2 toolbars + palette
111+
// On this-class resolutions (>= 1920 wide) the bar has spare vertical room —
112+
// trim 50px. Smaller screens stay at the full height (they need every pixel).
113+
if nScreenW >= 1920
114+
nBarH -= 70
115+
endif
111116
// Inspector: wide enough for the 230-px property/event name column plus a
112117
// usable value column. Grows with screen size.
113118
nInsW := Max( 330, Max( Int( 360 * nUIScale ), Int( nScreenW * 0.21 ) ) )

0 commit comments

Comments
 (0)