codenameone - Codename one image component -
what's best component include image layout?
i found label
job. i've problem customizing width , height of image.
this android , feel:
i'd migrate cno.so, created custom theme backgound gray , margin around container. layout of container tablelayout
set have 4 columns , 1 row. i'd see content (image, multiline label, label, image) autoscale based on parent width , i'd defined components width percentage fraction of parent.
for now, first image takes width , height icon, bigger needed. takes bit more space intend to. how can change image size without resizing image resource?
by default label has small amount of padding/margin around (and components).
you can test problem using label.setuiid("container")
has 0 padding , margin (by default).
you can edit app theme using designer tool , add new uiid label can override padding/margin 0.
Comments
Post a Comment