question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Toolbar in Dialog

See original GitHub issue

Is there any support or planned support for md-toolbar in dialog/modal/popups? In angularjs-material this was a built-in feature:

ss 2017-07-06 at 01 53 41

What I observe in angular-material2 is a padding that applies to the whole dialog box which prevents the toolbar from properly extending from end to end:

ss 2017-07-06 at 01 48 13

<md-toolbar [color]="['primary']">md-toolbar</md-toolbar>
<h1 md-dialog-title>md-dialog-title</h1>
<md-dialog-content>
  md-dialog-content
</md-dialog-content>
<md-dialog-actions>
  <button md-raised-button [color]="['primary']" disabled>Send Feedback</button>
  <button md-button md-dialog-close [color]="['warn']">Cancel</button>
</md-dialog-actions>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:9
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

5reactions
julianobrasilcommented, Jul 6, 2017
3reactions
jelbourncommented, Jul 7, 2017

@crisbeto thoughts? I could potentially see this as an option on the dialog-title

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting the Toolbar title in a Dialog - android - Stack Overflow
myToolbar = (Toolbar) findViewById(R.id.my_toolbar); setSupportActionBar(myToolbar);. However, I cannot use this in the class that I ...
Read more >
Android Action Bar In A Dialog Using ToolBar - Truiton
Android Toolbar widget is one of the new UI components available in AppCompat v21. This widget works just like an ActionBar, ...
Read more >
Dialog Bars | Microsoft Learn
A dialog bar is a toolbar, a kind of control bar that can contain any kind of control. Because it has the characteristics...
Read more >
Manage Toolbar Dialog - Foundry Learn
The Manage Toolbar dialog is described below with functions for how to access it. A list of the controls on the dialog can...
Read more >
Toolbars dialog box
Toolbars dialog box. Access this by selecting Toolbars in the View menu or right clicking on the toolbar area away from a control...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found