mIRC Home    About    Download    Register    News    Help

Print Thread
#191713 14/12/07 10:32 AM
Joined: Feb 2006
Posts: 97
O
Babel fish
OP Offline
Babel fish
O
Joined: Feb 2006
Posts: 97
Playing some with dialogs etc but all the example scripts i see or posted here use:
Code:
option dbu


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:
Code:
option pixels


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.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You have to understand that dbu and pixels use different sizes. Just adjust your sizes in the dialog when using dbu.

This will obviously be a different size in pixels than in dbu.
button "ok",1,5 5 20 10


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard