Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3804

ShowModalWithin on macOS - now centered, used to drop down from the top

$
0
0

Since a few macOS versions, SheetWindows no longer drop down from the top of the main window; instead, they appear in the center of the screen. This means that using ShowModalWithin is not the same experience it used to be.

In particular, I have used sheet dialog windows to drop down for user Confirm / Reject actions, in situations where the user is looking at something in the main window. This works when the dialog drops down from the top, when what the user is looking at in the main window is below the dialog. Now that the dialog appears in the middle, it covers up what the user is supposed to be looking at. So this change by Apple has ruined the UI for these dialogs in my apps. I need a way to fix this. Some ideas:

  • reposition the dialog (not possible?)
  • make the dialog transparent (not possible?)
  • somehow roll my own (I really think I shouldn’t have to do that)

Any help? Am I missing something?

37 posts - 10 participants

Read full topic


Viewing all articles
Browse latest Browse all 3804

Trending Articles