These are chat archives for angular/material

29th
Mar 2016
爱因斯唐
@forfuns
Mar 29 2016 06:15
hello all
can $mdDialog inside open another $mdDialog ?
I need a dialog inside show a confirm dialog
when I use confirm dialog in $mdDialog ctrl ,will show that confirm dialog then auto close outside dialog
爱因斯唐
@forfuns
Mar 29 2016 08:41
anyone here?
easy-going-paul
@toastermagic
Mar 29 2016 08:43
hi forfuns
爱因斯唐
@forfuns
Mar 29 2016 08:47
hi @toastermagic
I have a problem with angular-material
I need open $mdDialog with $mdDialog inside
but with I did , the outside dialog will auto close
fabioda
@fabioda
Mar 29 2016 09:02
@forfuns I don't think you can open nested dialogs. It has been brought up before and if you google it, there is a workaround for that (but I didn't try it myself). It would be a very nice feature to have built-in
爱因斯唐
@forfuns
Mar 29 2016 09:04
I dont know how to found that workaround
you mean this ? angular/material#4924
fabioda
@fabioda
Mar 29 2016 09:05
@forfuns take a look at this. angular/material#698
爱因斯唐
@forfuns
Mar 29 2016 09:35
@fabioda I try few more time,cant work with that way.
jmls
@jmls
Mar 29 2016 09:47
morning all
I have a md-button
<md-button class="md-fab md-warn" aria-label="close">
            <md-icon>highlight_off</md-icon>
</md-button>
how do I center the md-icon in the middle of the button if I want the icon to be 48px ?
I can add a class to the icon, setting font-size to be 48px, but then the alignment is all wrong
fabioda
@fabioda
Mar 29 2016 10:09
@forfuns Let's just hope support for nested dialogs is added. I had to drop trying to do it myself and found other ways
Marco Antônio Mafessolli
@marcomafessolli
Mar 29 2016 14:47
@jmls maybe this guide will help you http://google.github.io/material-design-icons/#icon-font-for-the-web and try to set width and heigth to 48px too
Antoine Baqain
@antoinebqain
Mar 29 2016 15:39
hello, does angular-material support RTL alignment ?
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 17:48
hi
i have a problem
im using material-angular
but
the social icons like fa-facebook-square doesn't work
somebody can help me?
Yording
@Yording
Mar 29 2016 17:52
This message was deleted
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 17:52
yes
look, the social icons are off, i mean i need other social icons class because the last dont display any icon
<i class="small fa fa-facebook-square"></i>
somebody can help me?
James Ireland
@siteshackinc
Mar 29 2016 19:47
if you are going to use font-awesome, do you have the required css in your html, are the font folder location correct
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 19:48
@siteshackinc thanks i go to try it rigth now.
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 19:56
@siteshackinc what do you suggest me to use apart from font-awesome?
James Ireland
@siteshackinc
Mar 29 2016 19:57
well i use material design icons
ive use font-awesome in it, but developing a site in pure material design, i removed font-awesome
how do you install your font-awesome package? via bower?
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 19:58
no, mi internet connection is by proxy
i can't install bower
James Ireland
@siteshackinc
Mar 29 2016 19:59
do you have npm/node installed?
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 19:59
yes
James Ireland
@siteshackinc
Mar 29 2016 19:59
npm install bower -g
will install bower globally
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 19:59
yes but my internet is by proxy
doesn't work
James Ireland
@siteshackinc
Mar 29 2016 20:00
:/
you can download the font-awesome zip via web
extract it to your project html folder or the like
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 20:00
yes but i want to use material-design icons
James Ireland
@siteshackinc
Mar 29 2016 20:01
one sec
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 20:01
i have this i my web page <link href="http://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
James Ireland
@siteshackinc
Mar 29 2016 20:02
ok then to create an icon
<md-icon>name</md-icon>
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 20:03
look, if i want to put a facebook icon, how i can do this?
James Ireland
@siteshackinc
Mar 29 2016 20:04
facebook icon is not in material-design-icon set
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
include that in yout html for font-awesome
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 20:05
ok
James Ireland
@siteshackinc
Mar 29 2016 20:05
the <i class="fa fa-facebook fa-fw"></i>
will work
fa-fw is fixed-width
not required
but i use it like that
Hector Alexis Hechavarria Cuba
@hahc90
Mar 29 2016 20:06
thanks a lot @siteshackinc
James Ireland
@siteshackinc
Mar 29 2016 20:06
your welcome