<!--@imports-->
<link rel="import" href="/resources/master/actions/tg-action.html">
<link rel="import" href="/resources/components/tg-scroll-container.html">


<polymer-element name="tg-@entity_type-master" extends="tg-entity-master" layout vertical>
    <template>
        <style>
            tg-flex-layout {
                background-color: white;
            }
            tg-scroll-container {
                overflow-x: hidden;
                overflow-y: auto;
            }
        </style>
        <shadow></shadow>

        <!--EDITORS AND ENTITY ACTIONS DOM (GENERATED) -->
        <tg-scroll-container fit on-scroll="{{handleScroll}}">
            <!--@editors_and_actions-->
        </tg-scroll-container>

    </template>
    <script>
        (function () {
            Polymer({
                noUI: false,

                /**
                 * Initialisation block. It has all children web components already initialised.
                 */
                ready: function () {
                    this.super();

                    var self = this;

                    // ENTITY ACTIONS (GENERATED)
                    //@entityActions
                    // PROPERTY ACTIONS (GENERATED)
                    //@propertyActions
                },
                handleScroll: function(e) {
                   this.fire("scroll-container", e.target);
                }
            });
        })();
    </script>
</polymer-element>
<!--@imports-->
<link rel="import" href="/resources/master/actions/tg-action.html">
<link rel="import" href="/resources/components/tg-scroll-container.html">


<polymer-element name="tg-@entity_type-master" extends="tg-entity-master" layout vertical>
    <template>
        <style>
            :host {
                background-color: white;
            }
            /*tg-flex-layout {
                background-color: white;
            }
            tg-scroll-container {
                overflow-x: hidden;
                overflow-y: auto;
            }*/
        </style>
        <shadow></shadow>

        <!--EDITORS AND ENTITY ACTIONS DOM (GENERATED) -->
        <!--<tg-scroll-container fit on-scroll="{{handleScroll}}">-->
            <!--@editors_and_actions-->
        <!--</tg-scroll-container>-->

    </template>
    <script>
        (function () {
            Polymer({
                noUI: false,

                /**
                 * Initialisation block. It has all children web components already initialised.
                 */
                ready: function () {
                    this.super();

                    var self = this;

                    // ENTITY ACTIONS (GENERATED)
                    //@entityActions
                    // PROPERTY ACTIONS (GENERATED)
                    //@propertyActions
                },
                handleScroll: function(e) {
                   this.fire("scroll-container", e.target);
                }
            });
        })();
    </script>
</polymer-element>
Fix the functional entity dialog size
Fix the functional entity dialog size
