Hi,

is it possible to create custom panel like this:
ControlPanel.ui.xml
        <g:HTMLPanel>
                <g:VerticalPanel styleName='{html.panel}'>
                        <g:HorizontalPanel>
                                <g:Button ui:field='btnHide' 
styleName='{button}' text='Hide'></
g:Button>
                                <g:Button ui:field='btnClose' 
styleName='{button}' text='Close'></
g:Button>
                        </g:HorizontalPanel>

                        <g:ScrollPanel ui:field="panel" width='100%'>
                                <!-- add components here -->
                        </g:ScrollPanel>
                </g:VerticalPanel>
        </g:HTMLPanel>

and then use it in this way:
Something.ui.xml
        <g:HTMLPanel>
                <c:ControlPanel ui:field='panel'>
                        <g:FlexTable ui:field='ftLogs' styleName='{table}'/>
                </c:ControlPanel>
        </g:HTMLPanel>

BR,
Krzysiek

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to