2013-01-18 28 views
0

我已經在我的應用程序使用一個簡單的stacklayoutPanel,但我不能讓它的高度爲100%,我只能確定它的高度,我不想如何讓GWT StackLayoutPanel高度設置爲100%

有沒有什麼辦法可以使它的高度爲100%insted的的「300像素」,就像我跟寬度

<ui:style> 
    .important { 
    font-weight: bold; 
    } 
</ui:style> 

<g:HTMLPanel ui:field="stack"> 
<g:StackLayoutPanel unit="PX" width="100%" height="300px" > 

<g:stack> 
    <g:header size="30">IntraVUE</g:header> 
    <g:HTMLPanel ui:field="intraVues"></g:HTMLPanel> 
</g:stack> 
+0

在這裏得到解答:http://stackoverflow.com/questions/86901/creating-a-fluid-panel-in-gwt-to-填寫該頁面 –

回答

相關問題