{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/material/issues/2659","labels_url":"https://api.github.com/repos/angular/material/issues/2659/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/2659/comments","events_url":"https://api.github.com/repos/angular/material/issues/2659/events","html_url":"https://github.com/angular/material/issues/2659","id":72495273,"number":2659,"title":"md-dialog(md-actions): 'layout-align' doesn't work","user":{"login":"epelc","id":5204642,"avatar_url":"https://avatars.githubusercontent.com/u/5204642?v=3","gravatar_id":"","url":"https://api.github.com/users/epelc","html_url":"https://github.com/epelc","followers_url":"https://api.github.com/users/epelc/followers","following_url":"https://api.github.com/users/epelc/following{/other_user}","gists_url":"https://api.github.com/users/epelc/gists{/gist_id}","starred_url":"https://api.github.com/users/epelc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epelc/subscriptions","organizations_url":"https://api.github.com/users/epelc/orgs","repos_url":"https://api.github.com/users/epelc/repos","events_url":"https://api.github.com/users/epelc/events{/privacy}","received_events_url":"https://api.github.com/users/epelc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"marcysutton","id":1045233,"avatar_url":"https://avatars.githubusercontent.com/u/1045233?v=3","gravatar_id":"","url":"https://api.github.com/users/marcysutton","html_url":"https://github.com/marcysutton","followers_url":"https://api.github.com/users/marcysutton/followers","following_url":"https://api.github.com/users/marcysutton/following{/other_user}","gists_url":"https://api.github.com/users/marcysutton/gists{/gist_id}","starred_url":"https://api.github.com/users/marcysutton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcysutton/subscriptions","organizations_url":"https://api.github.com/users/marcysutton/orgs","repos_url":"https://api.github.com/users/marcysutton/repos","events_url":"https://api.github.com/users/marcysutton/events{/privacy}","received_events_url":"https://api.github.com/users/marcysutton/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/material/milestones/15","html_url":"https://github.com/angular/material/milestones/0.10.0","labels_url":"https://api.github.com/repos/angular/material/milestones/15/labels","id":958568,"number":15,"title":"0.10.0","description":"### Specification Efforts\r\n\r\nThe following tasks need design notes: present the problem and identify solution(s):\r\n\r\n- menu\r\n- chips\r\n- slider range\r\n- icon buttons\r\n- textfields\r\n  *  `<md-text-search>`\r\n\r\n#### Design + Research\r\n- virtual repeat\r\n- data tables \r\n- date picker\r\n\r\n### Additional Efforts\r\n\r\nImplementation of an online Angular Material build tool (and API) that supports customized output for:\r\n\r\n- bi-directional support.\r\n- global theming and component theme overrides\r\n- select 1 or more specific components to bundle\r\n- selection of icons and svgs to bundle","creator":{"login":"ThomasBurleson","id":210413,"avatar_url":"https://avatars.githubusercontent.com/u/210413?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBurleson","html_url":"https://github.com/ThomasBurleson","followers_url":"https://api.github.com/users/ThomasBurleson/followers","following_url":"https://api.github.com/users/ThomasBurleson/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBurleson/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBurleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBurleson/subscriptions","organizations_url":"https://api.github.com/users/ThomasBurleson/orgs","repos_url":"https://api.github.com/users/ThomasBurleson/repos","events_url":"https://api.github.com/users/ThomasBurleson/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBurleson/received_events","type":"User","site_admin":false},"open_issues":276,"closed_issues":56,"state":"open","created_at":"2015-01-30T17:00:57Z","updated_at":"2015-05-04T23:09:15Z","due_on":"2015-05-12T05:00:00Z","closed_at":null},"comments":8,"created_at":"2015-05-01T18:44:49Z","updated_at":"2015-05-04T23:09:15Z","closed_at":"2015-05-04T23:09:15Z","body":"If you use `.md-actions` with your dialog you can't overide the alignment.\r\n\r\nFor example the following doesn't work\r\n```\r\n<md-dialog flex>\r\n    <md-dialog-content layout=\"column\">\r\n        ...\r\n    </md-dialog-content>\r\n    <div class=\"md-actions\" layout=\"row\" layout-align=\"space-between\">\r\n        <md-checkbox ng-model=\"updates.Show\">Let me know about future updates</md-checkbox>\r\n        <md-button ng-click=\"answer('useful')\" class=\"md-primary\">Done</md-button>\r\n    </div>\r\n</md-dialog>\r\n```\r\nInstead you need to use an element with `flex` on it as a hack.\r\n```\r\n<md-dialog flex>\r\n    <md-dialog-content layout=\"column\">\r\n        ...\r\n    </md-dialog-content>\r\n    <div class=\"md-actions\" layout=\"row\">\r\n        <md-checkbox ng-model=\"updates.Show\">Let me know about future updates</md-checkbox>\r\n        <span flex></span> <---- Hacky workaround\r\n        <md-button ng-click=\"answer('useful')\" class=\"md-primary\">Done</md-button>\r\n    </div>\r\n</md-dialog>\r\n```\r\n\r\nAlso are there any plans to add an `md-dialog-footer`. I think it'd be much more semantic then a div with a class."}}