Handbook
Glossary
cell-dim ( font cell -- width height padding )
Vocabulary
ui
.
gadgets
.
tables
.
private
Inputs
font
an
object
cell
an
object
Outputs
width
an
object
height
an
object
padding
an
object
Definition
IN:
ui.gadgets.tables.private
GENERIC:
cell-dim
( font cell -- width height padding )
Methods
USING:
kernel
ui.gadgets.tables.private
;
M:
f
cell-dim
2drop
0 0 0
;
USING:
kernel
sequences
ui.gadgets.tables.private
ui.images
;
M:
image-name
cell-dim
nip
image-dim
first2
image-padding
;
USING:
math.functions
sequences
strings
ui.gadgets.tables.private
ui.text
;
M:
string
cell-dim
single-line
text-dim
first2
ceiling
0
;