Bug 2546 - Weird alert dialog buttons layout
Summary: Weird alert dialog buttons layout
Status: REOPENED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Management ()
Version: Trunk
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-12-16 15:09 UTC by Mikayla Hutchinson [MSFT]
Modified: 2015-07-31 10:10 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Screenshot showing the weird button layout (40.88 KB, image/png)
2011-12-16 15:09 UTC, Mikayla Hutchinson [MSFT]
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 2546 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
REOPENED

Description Mikayla Hutchinson [MSFT] 2011-12-16 15:09:54 UTC
Created attachment 1062 [details]
Screenshot showing the weird button layout

The Mac altert dialog has weird button layout. See attached screenshot. It looks like an hbox with homogeneous layout?
Comment 1 Mike Krüger 2012-05-18 06:57:11 UTC
I didn't know that we're using platform specific alert dialogs - the one really looks like a gtk one.

It seems it can't be done with NSAlert.

http://stackoverflow.com/questions/7832525/response-buttons-not-aligned-on-right-for-nsalert/7833461#7833461
Comment 2 Mikayla Hutchinson [MSFT] 2012-05-18 13:24:15 UTC
Interesting. Guess it's by (Apple) design then.
Comment 3 Mike Krüger 2012-05-18 16:32:01 UTC
No it's not really a feature - they're using a different button approach than we do - our buttons look weird when not using their model.
Comment 4 Mikayla Hutchinson [MSFT] 2012-05-18 17:04:22 UTC
Well, that *is* NSAlert. The only way to fix it is to change the wording and hope NSAlert lays it out better with different label text lengths, or reimplement NSAlert.
Comment 5 Mike Krüger 2012-05-19 03:43:16 UTC
Reimplementing NSAlert is the only way to fix that.
Comment 6 Mike Krüger 2012-05-19 03:43:44 UTC
- OR - we could ensure that all alerts make sense on NSAlert.
Comment 7 Mike Krüger 2012-05-19 03:44:48 UTC
In the above example I would flip the remove & delete buttons for example.
Comment 8 Lluis Sanchez 2013-09-11 05:07:24 UTC
Is this fixed?
Comment 9 Mike Krüger 2013-09-11 14:08:31 UTC
AFAIK no