]> source.dussan.org Git - vaadin-framework.git/commit
Fix for width issue of TabSheet (#12805)
authorTeemu Pòˆntelin <teemu@vaadin.com>
Tue, 11 Mar 2014 17:45:38 +0000 (19:45 +0200)
committerVaadin Code Review <review@vaadin.com>
Fri, 14 Mar 2014 10:02:05 +0000 (10:02 +0000)
commit1881ea8afd23e79a6ebbc9ce051944e14c696fd1
tree9b79db81503f98117bd13b85ae5beca2bd5c5589
parent3e53fa6d15edb11f938095f70ba4bc292d422b5c
Fix for width issue of TabSheet (#12805)

Width of v-tabsheet-tabcontainer was set by copying the width
from the ComponentConnector. This produced an incorrect result
when a relative width (other than 100%) was used. Fixed by
assigning the width to 100% when the TabSheet has a defined
width.

Change-Id: I7f128f87406e6e00ceda9ee6e75dcc5539e283b6
client/src/com/vaadin/client/ui/VTabsheet.java
uitest/src/com/vaadin/tests/components/tabsheet/TabBarWidth.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/tabsheet/TabBarWidthTest.java [new file with mode: 0644]