Playing some with dialogs etc but all the example scripts i see or posted here use:
But if i use that in my dialog , the window is blown out of proportions!
The only way to make it correct is to use:
When using dbu some items in dialog seem to take good size for example the box item, that seems so have good measurements.
Buttons or the window itself doesn't.