Changeset 957


Ignore:
Timestamp:
Jun 4, 2020 1:07:51 PM (2 years ago)
Author:
ilavsky
Message:

Make listboxes more compatible with long names

Location:
trunk/User Procedures
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/User Procedures/Indra 2/IN2_GeneralProcedures.ipf

    r949 r957  
    503503End
    504504
     505#if(IgorVersion()>8.99)
     506Menu "GraphPopup"
     507       "Save as jpg", IN2G_SaveTopGraphJpg()
     508       "Save as h5xp or pxp", IN2G_SaveTopGraphPXP()
     509       "Clone this window with data", IN2G_CloneWindow()
     510       "Make limits Nice", IN2G_MakeGrphLimitsNice()
     511End
     512#else       
    505513Menu "GraphPopup"
    506514       "Save as jpg", IN2G_SaveTopGraphJpg()
     
    509517       "Make limits Nice", IN2G_MakeGrphLimitsNice()
    510518End
     519
     520#endif
    511521
    512522//DataBrowser  right click menu...
     
    594604Function IN2G_SaveTopGraphPXP()
    595605                string topWindow=WinName(0,1)
     606#if(IgorVersion()>8.99)
     607                SaveGraphCopy /I/T=1 /W=$(topWindow)                                            //this is pxp
     608#else
    596609                SaveGraphCopy /I /W=$(topWindow)                                                //this is pxp
     610#endif
    597611end
    598612//************************************************************************************************
  • trunk/User Procedures/Irena/IR1_ImportData.ipf

    r942 r957  
    190190        ListBox ListOfAvailableData,listWave=root:Packages:ImportData:WaveOfFiles
    191191        ListBox ListOfAvailableData,selWave=root:Packages:ImportData:WaveOfSelections
    192         ListBox ListOfAvailableData,mode= 4, proc=IR1_ImportListBoxProc
     192        ListBox ListOfAvailableData,mode= 4, proc=IR1_ImportListBoxProc, special={0,0,1 }               //this will scale the width of column, users may need to slide right using slider at the bottom.
    193193
    194194
  • trunk/User Procedures/Irena/IR1_ScattContrast.ipf

    r942 r957  
    158158        ListBox ListOfAvailableData,listWave=root:Packages:ScatteringContrast:WaveOfCompoundsOutsideIgor
    159159//      ListBox ListOfAvailableData,selWave=root:Packages:ScatteringContrast:NumbersOfCompoundsOutsideIgor
    160         ListBox ListOfAvailableData,mode= 2
     160        ListBox ListOfAvailableData,mode=2, special={0,0,1 }            //this will scale the width of column, users may need to slide right using slider at the bottom.
    161161
    162162        SetVariable AvailableCompoundsMask,pos={300,350},size={280,16},title="Mask names (regex) :  ",help={"Mask Stored data list using regex"}
     
    20732073        ListBox CompoundSelection,pos={10,90},size={220,360},proc=IR1K_ListBoxProc
    20742074        ListBox CompoundSelection,help={"Select two compounds to calculate contrast between"}
    2075         ListBox CompoundSelection,font="Times New Roman",frame=2
     2075        ListBox CompoundSelection,font="Times New Roman",frame=2, special={0,0,1 }              //this will scale the width of column, users may need to slide right using slider at the bottom.
    20762076        ListBox CompoundSelection,listWave=root:Packages:ScatteringContrast:WaveOfCompoundsOutsideIgor
    20772077        ListBox CompoundSelection,selWave=root:Packages:ScatteringContrast:NumbersOfCompoundsOutsideIgor
  • trunk/User Procedures/Irena/IR2_DataExport.ipf

    r942 r957  
    173173                                        DrawText 10,255,"Configure Universal export tool panel options"
    174174                                        DrawText 10,275,"Select multiple data above and export : "
    175                                         ListBox DataFolderSelection,pos={4,35},size={372,200}, mode=10
     175                                        ListBox DataFolderSelection,pos={4,35},size={372,200}, mode=10, special={0,0,1 }                //this will scale the width of column, users may need to slide right using slider at the bottom.
    176176                                        ListBox DataFolderSelection,listWave=root:Packages:IR2_UniversalDataExport:ListOfAvailableData
    177177                                        ListBox DataFolderSelection,selWave=root:Packages:IR2_UniversalDataExport:SelectionOfAvailableData
  • trunk/User Procedures/Irena/IR2_DataMiner.ipf

    r942 r957  
    200200        SetVariable GrepItemNameString,pos={270,150},size={240,20}, proc=IR3B_SetVarProc,title="\Zr120Regex key name: "
    201201        Setvariable GrepItemNameString,fStyle=2, variable=root:Packages:Irena:MetadataBrowser:GrepItemNameString, help={"This is grep string to clean up the key names"}
    202         ListBox NoteItemsSelection,win=IR3B_MetadataBrowserPanel,pos={265,180},size={250,495}, mode=10
     202        ListBox NoteItemsSelection,win=IR3B_MetadataBrowserPanel,pos={265,180},size={250,495}, mode=10, special={0,0,1 }                //this will scale the width of column, users may need to slide right using slider at the bottom.
    203203        ListBox NoteItemsSelection,listWave=root:Packages:Irena:MetadataBrowser:ListOfWaveNoteItems
    204204        ListBox NoteItemsSelection,selWave=root:Packages:Irena:MetadataBrowser:SelectionOfWaveNoteItems
     
    216216        PopupMenu ExtractFromFileName,pos={560,150},size={310,20},proc=IR3B_PopMenuProc, title="Extract From Folder Name : ",help={"Select if to extarct from name some information"}
    217217        PopupMenu ExtractFromFileName,value="---;_xyzC;_xyzmin;_xyz;_xyzpct;",mode=1, popvalue="---"
    218         ListBox SeletectedItems,win=IR3B_MetadataBrowserPanel,pos={530,180},size={250,250}, mode=10
     218        ListBox SeletectedItems,win=IR3B_MetadataBrowserPanel,pos={530,180},size={250,250}, mode=10, special={0,0,1 }           //this will scale the width of column, users may need to slide right using slider at the bottom.
    219219        ListBox SeletectedItems,listWave=root:Packages:Irena:MetadataBrowser:SeletectedItems
    220220        ListBox SeletectedItems,selWave=root:Packages:Irena:MetadataBrowser:SelectionOfSelectedItems
  • trunk/User Procedures/Irena/IR2_PanelCntrlProcs.ipf

    r954 r957  
    32943294                ListBox DataFolderSelection,listWave=$(PathToPackagesFolder+":ListOfAvailableData")
    32953295                ListBox DataFolderSelection,selWave=$(PathToPackagesFolder+":SelectionOfAvailableData")
    3296                 ListBox DataFolderSelection,proc=IR3C_MultiListBoxProc
     3296                ListBox DataFolderSelection,proc=IR3C_MultiListBoxProc, special={0,0,1 }                //this will scale the width of column, users may need to slide right using slider at the bottom.
    32973297       
    32983298       
  • trunk/User Procedures/Irena/IR3_MultiDataPlot.ipf

    r956 r957  
    942942                                DoWindow/F $(GraphWindowName)
    943943                                SaveGraphCopy /I /W=$(GraphWindowName)                                                  //      saves current graph as Igor packed experiment
     944                                //Igor 9: use flag /T=1 and ".h5xp" as the file name extension to save to hdf file
    944945                                DoWIndow/F IR3L_MultiSamplePlotPanel
    945946                        endif
  • trunk/User Procedures/Irena/IR3_WAXSDiffraction.ipf

    r942 r957  
    9898        PopupMenu SortFolders,mode=1,popvalue=root:Packages:Irena:WAXS:FolderSortString,value= root:Packages:Irena:WAXS:FolderSortStringAll
    9999
    100         ListBox DataFolderSelection,pos={4,135},size={250,480}, mode=10
     100        ListBox DataFolderSelection,pos={4,135},size={250,480}, mode=10, special={0,0,1 }               //this will scale the width of column, users may need to slide right using slider at the bottom.
    101101        ListBox DataFolderSelection,listWave=root:Packages:Irena:WAXS:ListOfAvailableData
    102102        ListBox DataFolderSelection,selWave=root:Packages:Irena:WAXS:SelectionOfAvailableData
     
    183183        ListBox PDF4CardsSelection,listWave=root:Packages:Irena:WAXS:ListOfPDF4Data
    184184        ListBox PDF4CardsSelection,selWave=root:Packages:Irena:WAXS:SelectionOfPDF4Data
    185         ListBox PDF4CardsSelection,proc=IR3W_PDF4ListBoxProc
     185        ListBox PDF4CardsSelection,proc=IR3W_PDF4ListBoxProc, special={0,0,1 }          //this will scale the width of column, users may need to slide right using slider at the bottom.
    186186        ListBox PDF4CardsSelection colorWave=root:Packages:Irena:WAXS:ListOfPDF4DataColors
    187187       
     
    34733473        ListBox OutsidePDFDataList,listWave=root:Packages:Irena:WAXS:SaveLoadPDFOutside
    34743474        ListBox OutsidePDFDataList,selWave=root:Packages:Irena:WAXS:SaveLoadPDFOutsideSel
    3475         ListBox OutsidePDFDataList, mode= 9
     3475        ListBox OutsidePDFDataList, mode= 9, special={0,0,1 }           //this will scale the width of column, users may need to slide right using slider at the bottom.
    34763476
    34773477        TitleBox InsideData title="Inside",pos={230,45},frame=0,fstyle=1, fixedSize=1,size={350,20},fSize=12
     
    34793479        ListBox InsidePDFDataList,listWave=root:Packages:Irena:WAXS:SaveLoadPDFInside
    34803480        ListBox InsidePDFDataList,selWave=root:Packages:Irena:WAXS:SaveLoadPDFInsideSel
    3481         ListBox InsidePDFDataList, mode= 9
     3481        ListBox InsidePDFDataList, mode= 9, special={0,0,1 }            //this will scale the width of column, users may need to slide right using slider at the bottom.
    34823482
    34833483        Button UpdateListbox,pos={65,290},size={230,20},proc=IR3W_PDF4ButtonProc,title="Update listboxes"
  • trunk/User Procedures/Nika/NI1_BeamCenterUtils.ipf

    r942 r957  
    121121        TitleBox BCPathInfoStr, pos={3,56}, size={325,20}, variable=root:Packages:Convert2Dto1D:BCPathInfoStr, fixedSize=0, frame=0, fstyle=2, fColor=(0,12800,32000)
    122122
    123         ListBox CCDDataSelection,pos={17,95},size={300,150}//,proc=NI1BC_ListBoxProc
     123        ListBox CCDDataSelection,pos={17,95},size={300,150}, special={0,0,1 }           //this will scale the width of column, users may need to slide right using slider at the bottom.
    124124        ListBox CCDDataSelection,help={"Select CCD file for which you want to create mask"}
    125125        ListBox CCDDataSelection,listWave=root:Packages:Convert2Dto1D:ListOfCCDDataInBmCntrPath
  • trunk/User Procedures/Nika/NI1_ConvProc.ipf

    r942 r957  
    36923692
    36933693
    3694         ListBox Select2DInputWave,pos={16,92},size={300,120},row=0, clickEventModifiers=4
     3694        ListBox Select2DInputWave,pos={16,92},size={300,120},row=0, clickEventModifiers=4, special={0,0,1 }             //this will scale the width of column, users may need to slide right using slider at the bottom.
    36953695        ListBox Select2DInputWave,help={"Select data file to be converted, you can select multiple data sets"}
    36963696        ListBox Select2DInputWave,listWave=root:Packages:Convert2Dto1D:ListOf2DSampleData
     
    38983898//      PopupMenu Select2DMaskType,help={"Masks made by this code are tiff files, the should be: xxxx_mask.ext (tif)"}
    38993899//      PopupMenu Select2DMaskType,mode=1,popvalue=root:Packages:Convert2Dto1D:MaskFileExtension,value= #"\"tif;\""
    3900         ListBox MaskListBoxSelection,pos={83,375},size={260,100}, row=0, clickEventModifiers=4
     3900        ListBox MaskListBoxSelection,pos={83,375},size={260,100}, row=0, clickEventModifiers=4, special={0,0,1 }                //this will scale the width of column, users may need to slide right using slider at the bottom.
    39013901        ListBox MaskListBoxSelection,help={"Select 2D data set for mask"}
    39023902        ListBox MaskListBoxSelection,listWave=root:Packages:Convert2Dto1D:ListOf2DMaskData
     
    39223922        PopupMenu SelectBlank2DDataType,help={"Select type of 2D images being loaded"}
    39233923
    3924         ListBox Select2DMaskDarkWave,pos={23,335},size={351,120},disable=1, row=0
     3924        ListBox Select2DMaskDarkWave,pos={23,335},size={351,120},disable=1, row=0, special={0,0,1 }             //this will scale the width of column, users may need to slide right using slider at the bottom.
    39253925        ListBox Select2DMaskDarkWave,help={"Select data file to be used as empty beam or dark field"}
    39263926        ListBox Select2DMaskDarkWave,listWave=root:Packages:Convert2Dto1D:ListOf2DEmptyData
  • trunk/User Procedures/Nika/NI1_SaveRecallConfig.ipf

    r942 r957  
    4343        Button SelectSaveLoadPath,pos={84,31},size={150,20},proc=NI1A_SaveLoadButtonProc,title="Select data path"
    4444        Button SelectSaveLoadPath,help={"Select path to your configuration files. You can create new folders by typing them in."}
    45         ListBox SavedDataList,pos={3,76},size={164,117},proc=NI1A_SaveLoadListBoxProc
     45        ListBox SavedDataList,pos={3,76},size={164,117},proc=NI1A_SaveLoadListBoxProc, special={0,0,1 }         //this will scale the width of column, users may need to slide right using slider at the bottom.
    4646        ListBox SavedDataList,listWave=root:Packages:Convert2Dto1D:SaveLoadDataAvailable
    4747        ListBox SavedDataList,mode= 1,selRow= 5
    4848        ListBox ContentOfTheConfigFile,pos={171,77},size={192,116}
    49         ListBox ContentOfTheConfigFile,fSize=9
     49        ListBox ContentOfTheConfigFile,fSize=9, special={0,0,1 }                //this will scale the width of column, users may need to slide right using slider at the bottom.
    5050        ListBox ContentOfTheConfigFile,listWave=root:Packages:Convert2Dto1D:ConfigFileContent
    5151        Button SaveCurrentConfig,pos={13,242},size={130,20},proc=NI1A_SaveLoadButtonProc,title="Save configuration"
  • trunk/User Procedures/Nika/NI1_mask.ipf

    r942 r957  
    9393        endif
    9494
    95         ListBox CCDDataSelection,pos={17,95},size={300,150}//,proc=NI1M_ListBoxProc
     95        ListBox CCDDataSelection,pos={17,95},size={300,150}, special={0,0,1 }           //this will scale the width of column, users may need to slide right using slider at the bottom.
    9696        ListBox CCDDataSelection,help={"Select CCD file for which you want to create mask"}
    9797        ListBox CCDDataSelection,listWave=root:Packages:Convert2Dto1D:ListOfCCDDataInCCDPath
  • trunk/User Procedures/Nika/NI1_pix2Dsensitivity.ipf

    r942 r957  
    6666        Button GetHelp,pos={335,105},size={80,15},fColor=(65535,32768,32768), proc=NI1_FloodButtonProc,title="Get Help", help={"Open www manual page for this tool"}
    6767
    68         ListBox CCDDataSelection,pos={17,95},size={300,150}//,proc=NI1M_ListBoxProc
     68        ListBox CCDDataSelection,pos={17,95},size={300,150}, special={0,0,1 }           //this will scale the width of column, users may need to slide right using slider at the bottom.
    6969        ListBox CCDDataSelection,help={"Select CCD file for which you want to create mask"}
    7070        ListBox CCDDataSelection,listWave=root:Packages:Convert2Dto1D:ListOfCCDDataInFloodPath
Note: See TracChangeset for help on using the changeset viewer.