Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

iron-flex-layout not working #119

Closed
terrywarwar opened this issue Jan 20, 2016 · 2 comments
Closed

iron-flex-layout not working #119

terrywarwar opened this issue Jan 20, 2016 · 2 comments

Comments

@terrywarwar
Copy link

iron-flex-layout is no longer working with:

polymer: ^1.0.0-rc.14
polymer_elements: ^1.0.0-rc.7
web_components: ^0.12.2+2
 <div class="horizontal layout">
        <div>Alpha</div>
        <div class="flex">Beta (flex)</div>
        <div>Gamma</div>
 </div>
@jakemac53
Copy link
Contributor

You need to import the stylesheet explicitly, I think it was previously included in one of the polymer elements so you were getting it transitively. See http://stackoverflow.com/questions/34756549/polymer-elements-1-0-0-rc-6-convert-horizontal-layout-to-vertical-layout/34774070#34774070.

@terrywarwar
Copy link
Author

Thanks worked, changed from
export 'package:polymer_elements/iron_flex_layout.dart';
to
export 'package:polymer_elements/iron_flex_layout/classes/iron_flex_layout.dart';

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants