Posts

How to change the width of a floating pallete in DM scripting

Image
1 Now I'm trying to write a DM script to display a floating palette as shown in the following code. However, for example, a long string label as included in this code protrude from the palette window. So, I'm wondering how to change the palette window size (i.e, width in this case). Actually, some Gatan's official palette windows such as "Camera View", "Camera Acquire" etc. seem to be wider than the pallete created by this code. It will be appreciated if you share some wisdom. Thank you very much in advance. Class MyDialog: UIFrame { TagGroup createDLGtgs( Object self ){ TagGroup DLGtgs, DLGItems DLGtgs = DLGCreateDialog( "Test Dialog", DLGItems ) DLGItems.DLGAddElement( DLGCreateLabel( "Test of Gatan DigitalMicrograph scripting"...