taut: undefaulting things

This commit is contained in:
minjaesong
2026-05-27 14:04:28 +09:00
parent 01cc5c90ee
commit 10e577699f
2 changed files with 18 additions and 10 deletions

View File

@@ -336,7 +336,7 @@ function showDialog(opts) {
const listMinW = hasList
? (list.width != null ? list.width + 4 : longestItem + 6)
: 0
const w = Math.max(maxFieldW + 6, titleW + 4, longestMsg + 6, btnRowW + 4, listMinW, 24)
const w = 2+Math.max(maxFieldW + 6, titleW + 4, longestMsg + 6, btnRowW + 4, listMinW, 22)
const msgRows = messageLines.length + (messageLines.length > 0 ? 1 : 0)
const fieldsBlockH = fields.length * 4