I’m trying to improve the layout of my Wt application (Wt 3.3.1).  I’ve removed all setMinimumSize() calls from my C++ code, and am trying to control the size of widgets in my CSS file.

I’m placing a WTabWidget and a WPanel inside a WVBoxLayout.


If I specify a minimum size for the tabWidget (CSS name ‘mainTab’) or any of the container widgets (CSS name editScanContainer) contained in the tabWidget, Wt overlaps the bottom of the tabWidget with the WPanel widget below.

Here’s a demonstration program: 

Here’s a snippet of CSS:
.mainTab {
   background-color: #FF0000;
/*   min-height: 280px !important;  */
}
.editScanContainer {
/*   min-height: 180px; */
   background-color: #f0f000;
}

Here’s a screen capture of the overlapped widgets:
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to