Material icons not displayed using Dialog Framework
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Dialog Framework uses iframe, that's the only difference I see with the rest of the app. After some digging, I realized the file "layout.css" is not included in the head of iframe (that's where Material Design font should be defined). This is why it's not displayed. Thanks for providing a fix
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
I think you can add it into h:head of the other page to be opened.
<h:outputStylesheet name="css/layout-#{guestPreferences.layout}.css" library="barcelona-layout" />
<h:outputStylesheet name="css/layout-#{guestPreferences.layout}.css" library="barcelona-layout" />
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
- Unfortunately, no. I think other Barcelona users may react to this. Therefore, you can override HeadRenderer by yourself in your project.Can't you override the HeadRenderer?
Best Regards,
Github Profile: https://github.com/mertsincan
Is it possible to introduce a new method that will be called in such cases (in HeadRenderer)? That way, you could override it and include the corresponding font; and it would be provided in barcelona disttribution. Like that, users does not have to do anything
-
- Information
-
Who is online
Users browsing this forum: No registered users and 12 guests