20% width of screen left column
*,* means greedy - fill the rest of the screen
the following HTML does it. However, I am not a modern HTML guru (part of the
reason I like Wt) (I stopped caring around HTML 4.01). This new "CSS
positioning" confuses and astounds me.
<html>
<body>
<table border="1" width="100%" height="100%">
<tr>
<td width="20%" height="*" style="background-color:#aaaaaa">
<select width="100%"><option>1</option></select></br>
<select width="100%"><option>2</option></select></br>
<select width="100%"><option>3</option></select></br>
<select width="100%"><option>4</option></select></br>
<select width="100%"><option>5</option></select></br>
<select width="100%"><option>6</option></select></br>
</td>
<td style="background-color:#aaaaff"> </td>
</tr>
</table>
</body>
</html>
On Wednesday, October 9, 2013 9:02 AM, Koen Deforche <[email protected]> wrote:
Hey Jason,
Some code (or better a test case) that shows what you are doing would
certainly help. What do you mean with the '20% width' and '(*,*)'
notations?
Regards,
koen
2013/10/8 Jason H <[email protected]>:
> Here is the layout I want:
> HBox[ VBox [..20% width .], WTableView (*,*) ]
>
> However I have many issues.
> Sometimes the VBox's first item takes up the whole screen.
> Sometimes my WTableView does not have scroll bars (and it should)
>
> The VBox has Widgets of [WText, WComboBox, repeated array of [WComboBox,
> WText] ]
>
> It seems that my technique of using BoxLayouts isn't the best. Is there a
> better way?
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest