Skip to content

Commit 55b30f8

Browse files
Ralph Kuepperclaude
andcommitted
fix(windows): About window content invisible due to excessive padding
The desktop About window (420px wide) had 280px horizontal padding per side, leaving negative content width. Win32 layout clips strictly, so only the logo was visible. Reduced to 24px and removed the mobile-only back button from the desktop window. Also added .gitignore entries for build artifacts, debug logs, and screenshot files. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9a2011c commit 55b30f8

2 files changed

Lines changed: 19 additions & 6 deletions

File tree

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ _perry_failed_stubs.o
66

77
# Compiled binaries
88
mango
9+
Mango.exe
910
app
1011
app_debug
1112
mango-android
@@ -47,7 +48,16 @@ Mango-orig
4748
mango-test
4849
res/
4950
__pycache__/
51+
__perry_js_bundle.js
5052
test-screenshots/
53+
test_app_nodb
54+
test_mango_lite
55+
test_widgets
56+
57+
# Debug / dev files
58+
mango_debug.log
59+
layout_debug.txt
60+
screenshot*.png
5161

5262
# Internal docs
5363
mango-product-spec.md

src/app.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,16 +1619,19 @@ buttonSetBordered(backBtn, 0);
16191619
buttonSetTextColor(backBtn, moR, moG, moB, 1.0);
16201620
if (mobile) setPadding(backBtn, 8, 4, 8, 4);
16211621

1622-
const backRow = HStack(8, [backBtn, Spacer()]);
1623-
if (!mobile) widgetSetHidden(backRow, 1);
1624-
const infoBody = VStack(12, [
1625-
backRow,
1622+
const infoBodyMobile = VStack(12, [
1623+
HStack(8, [backBtn, Spacer()]),
16261624
infoHeaderCard,
16271625
settingsHeader,
16281626
infoSettingsCard,
16291627
]);
1630-
const infoPadH = mobile ? 16 : 280;
1631-
setPadding(infoBody, mobile ? 20 : 40, infoPadH, 32, infoPadH);
1628+
const infoBody = mobile ? infoBodyMobile : VStack(12, [
1629+
infoHeaderCard,
1630+
settingsHeader,
1631+
infoSettingsCard,
1632+
]);
1633+
const infoPadH = mobile ? 16 : 24;
1634+
setPadding(infoBody, mobile ? 20 : 28, infoPadH, 32, infoPadH);
16321635
widgetMatchParentWidth(infoHeaderCard);
16331636
widgetMatchParentWidth(infoSettingsCard);
16341637

0 commit comments

Comments
 (0)