Hi Jason, in your screenshot it looks like you're triggering the original object snap menu there, instead of the file you posted.
Please double check the keyboard shortcut you're using to launch it, and make sure it is using the dialog file and not the menu file, you will want it to be like this (note bolded part):
script:moi.ui.createDialog( 'moi://ui/ObjectSnapDialog.htm' );
Also the dialog file you posted has the controls arranged in 2 columns, if you want it in one long column like the menu you can copy the file ObjectSnapMenu.htm to ObjectSnapDialog.htm and then you'll find the <moi:FlyoutHeader> that was referred to previously which you can remove to get rid of the extra close button.
Hope this helps!
- Michael
|