Changeset 302


Ignore:
Timestamp:
Jun 11, 2011 4:15:50 AM (12 years ago)
Author:
vondreele
Message:

tweak of progress bar display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIindex.py

    r230 r302  
    531531                dlg = wx.ProgressDialog("Generated reflections",tries[cycle]+" cell search for "+bravaisNames[ibrav],ncMax,
    532532                    style = wx.PD_ELAPSED_TIME|wx.PD_AUTO_HIDE|wx.PD_REMAINING_TIME|wx.PD_CAN_ABORT)
    533                 screenSize = wx.DisplaySize()
     533                screenSize = wx.ClientDisplayRect()
    534534                Size = dlg.GetSize()
    535                 dlg.SetPosition(wx.Point(screenSize[0]-Size[0]-300,0))
     535                dlg.SetPosition(wx.Point(screenSize[2]-Size[0]-305,screenSize[1]+5))
    536536                try:
    537537                    GoOn = True
Note: See TracChangeset for help on using the changeset viewer.