popup: stabilize the input panel width

This commit is contained in:
2026-08-14 21:13:49 +09:00
parent f222b4d573
commit 0471d58dec
3 changed files with 22 additions and 22 deletions

3
dat.h
View File

@@ -21,6 +21,7 @@ enum
PopupPad = 4,
PopupSep = 1,
PopupNumw = Fontsz,
PopupTextw = 12*Fontsz,
Maxrunes = 64,
Maxutf = Maxrunes * UTFmax + 1,
};
@@ -30,7 +31,7 @@ enum
Maxclients = 64,
Maxkouho = 32,
Maxdisp = 9,
Imgw = (Maxrunes + 3) * Fontsz,
Imgw = 2*PopupPad + PopupNumw + PopupTextw,
Imgh = 2*PopupPad + (Maxdisp + 2)*Fontsz + PopupSep,
Colfg = 0x000000,