Using smartgwt 2.4, gwt-2.1.1
I have a canvas with a mapWidget, the canvas resizes and the mapwidget resizes but a generated div between the two doesn't. If I manually change the div's width then it looks fine, so how do I trigger the resize of this div?
Notice that the parent and child divs are width:1001px but the div with id="isc_M" remains at the original width of 701px.
Any suggestions?
I have a canvas with a mapWidget, the canvas resizes and the mapwidget resizes but a generated div between the two doesn't. If I manually change the div's width then it looks fine, so how do I trigger the resize of this div?
Code:
<div onscroll="return isc_GEMap_0.$lh()" style="position: absolute; left: 0px; top: 0px; width: 1001px; height: 376px; z-index: 200162; margin: 0px; -moz-box-sizing: border-box; overflow: hidden; cursor: default;" class="GEMapPanel" eventproxy="isc_GEMap_0" id="isc_K"> <div style="position: relative; visibility: inherit; z-index: 200162; cursor: default;" eventproxy="isc_GEMap_0" id="isc_L"> <div onscroll="return isc_WidgetCanvas_1.$lh()" style="position: absolute; left: 0px; top: 0px; width: 701px; height: 376px; z-index: 200180; -moz-box-sizing: border-box; overflow: hidden; cursor: default;" class="normal" eventproxy="isc_WidgetCanvas_1" id="isc_M"> <div style="position: relative; visibility: inherit; z-index: 200180; cursor: default;" eventproxy="isc_WidgetCanvas_1" id="isc_N"> <div id="isc_WidgetCanvas_1_widget" style="width: 100%; height: 100%;"> <div class="MapWidget" style="width: 1001px; height: 376px; position: relative; background-color: rgb(229, 227, 223); overflow: hidden; z-index: 0;">
Notice that the parent and child divs are width:1001px but the div with id="isc_M" remains at the original width of 701px.
Any suggestions?
Comment