On 31 May 2013 22:46, commits@source.squeak.org wrote:
A new version of Morphic was added to project The Inbox: http://source.squeak.org/inbox/Morphic-fbs.654.mcz
==================== Summary ====================
Name: Morphic-fbs.654 Author: fbs Time: 31 May 2013, 10:46:06.668 pm UUID: aa6c0ca2-61ee-4499-aa75-a68d0d1dba2f Ancestors: Morphic-fbs.653
This removes two references to UserDialogBoxMorph in favour of calls to UIManager.
However, both these methods currently pop up dialogs _centred_ in the screen. If we wish to preserve that, then we need to add #inform:at: to UIManager's protocol (and implement it in the various UIManager subclasses).
=============== Diff against Morphic-fbs.653 ===============
I would notice _after_ publishing that there's another reference, in TheWorldMainDockingBar >> #quitSqueak. Sigh.
Still, there's enough here to start a discussion.
frank
On 2013-06-01, at 00:04, Frank Shearar frank.shearar@gmail.com wrote:
However, both these methods currently pop up dialogs _centred_ in the screen. If we wish to preserve that, then we need to add #inform:at: to UIManager's protocol (and implement it in the various UIManager subclasses).
I'd rather try to avoid using absolute screen positions in the UIManager. If we must, then UIManager should have a method to access the screen dimensions. But it would be better to hand in a reference to the UI object (window, widget, etc) and the dialog would automatically be placed on top of that object, or centered otherwise.
- Bert -
squeak-dev@lists.squeakfoundation.org