Thursday, August 8, 2013

Popup Panel sizing issues

I need to change the width of a popup panel.  I know you cannot directly set the width/height of this panel using set width/setheight but I would like to know if there is a workaround for this.

Currently, we have the xml file setup as follows:

<ui:UiBinder...

 <g:FlowPanel>

    <g:DockLayoutPanel>

        

        <g:north size="160">

            <g:ScrollPanel>

                <g:VerticalPanel width="100%">

                     <g:VerticalPanel ui:field="viewPanel" styleName="vmPanel" width="99%">

                       ....

                                                 </g:VerticalPanel>

                                                 ...

                                                <g:PopupPanel styleName="myPanel" ui:field="myPanel"

                                                       autoHideEnabled="true" animationEnabled="true" visible="false"

                                                       debugId="my-p" title="blahblahblah">


                                                      <g:VerticalPanel> // Tried setting width directly here with no avail


                                                            <g:VerticalPanel ui:field="aPanel"/>


                                                                   <g:Grid styleName="iPanel">

                                                                         <g:row>

                                                                               <g:customCell>

                                                                                      <g:Label text="{cons.first}"/>

                                                                              </g:customCell>

                                                                              <g:customCell>

                                                                                     <g:Label ui:field="aAddress"/>

                                                                              </g:customCell>

                                                                        </g:row>

                                                                         ... // more rows

                                                                  </g:Grid>


                                                      </g:VerticalPanel>


                                       </g:PopupPanel> 

                                        ... // more panels

                

       </g:DockLayoutPanel>

     

     </g:FlowPanel>

</ui:UiBinder>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate