popup: stabilize the input panel width
This commit is contained in:
3
dat.h
3
dat.h
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user