dybomaha
09-16-2004, 03:20 PM
I am trying to use a scrollbar inside a tab.
Using a simple example:
<canvas >
<tabs width="250" height="150">
<tabpane text="one">
<view width="150" height="100" id="theview" clip="true" >
<simplelayout axis="y" spacing="3"/>
<text>1</text>
<text>2</text>
<text>3</text>
<text>4</text>
<text>5</text>
<text>6</text>
<text>7</text>
<text>8</text>
</view>
<scrollbar scrolltarget="theview" align="right" />
</tabpane>
<tabpane text="two">
<button>press two</button>
</tabpane>
</tabs>
</canvas>
The result of this code is that the scroll bars draws, but never shows lines 7 & 8 - it does not scroll.
How can this code be changed to work?
DYBOMAHA
Using a simple example:
<canvas >
<tabs width="250" height="150">
<tabpane text="one">
<view width="150" height="100" id="theview" clip="true" >
<simplelayout axis="y" spacing="3"/>
<text>1</text>
<text>2</text>
<text>3</text>
<text>4</text>
<text>5</text>
<text>6</text>
<text>7</text>
<text>8</text>
</view>
<scrollbar scrolltarget="theview" align="right" />
</tabpane>
<tabpane text="two">
<button>press two</button>
</tabpane>
</tabs>
</canvas>
The result of this code is that the scroll bars draws, but never shows lines 7 & 8 - it does not scroll.
How can this code be changed to work?
DYBOMAHA