That was shortest snippet, just an illustration example to understand better what's wrong. Boxes are extremely useful for grouping when there is many pictures, buttons, radiobuttons, inputs and outputs.
OK, here is same but a bit larger snippet if you do not like first one. Try to resize whole window - everything turns into disaster, %nr and %nd do not work on %ob/%cb or i do something wrong.
Note also, that %ts changes contols text size but not printed text size and font. And %tc changes %cw text color while %bg changes %cw background. So i can do a lot of things with %cw but by some reason not a changing text font and text size
use clrwin
ioLUN=11
i=winio@('%ww[no_border]&')
i=winio@('%mn[Exit]%ac[Esc]&','exit','exit')
i=winio@('%nd%nr&')
i=winio@('%sf%ts&',0.8d0)
i=winio@('%3.1ob[shaded]&')
i=winio@('%cn%rb[var1] %ff&',i0)
i=winio@('%rd A %ff&',i1)
i=winio@('%rd B %ff&',i2)
i=winio@('%rd C %ff&',i3)
i=winio@('%tt[Button1]&')
i=winio@('%cb&')
i=winio@('%cn%rb[var2] %ff&',ii0)
i=winio@('%rd X %ff&',ii1)
i=winio@('%rd Y %ff&',ii2)
i=winio@('%rd Z %ff&',ii3)
i=winio@('%tt[Button2]&')
i=winio@('%cb&')
i=winio@('%cn%rb[var3] %ff&',iii0)
i=winio@('%rd I %ff&',iii1)
i=winio@('%rd J %ff&',iii2)
i=winio@('%rd K %ff&',iii3)
i=winio@('%tt[Button3]&')
i=winio@('%cb%ff %nl&')
i=winio@('%fn[Courier]%ts%tc%`bg%pv%42.12cw[hscroll,vscroll]%lw',0.8d0,rgb@(0,0,255),rgb@(255,222,222), ioLun,ilw)
write(11,*) (1234567,i=1,30)
end