Hi all,

I managed to remove the shadow feature from the WPanel class by adding 
my own style addStyleClass("mypanel") and providing the following CSS:

.Wt-panel.Wt-outset.mypanel {
     margin: 0px 1px 0px 1px;
     border: 1px none;
}

Regards,
Stefan

On 03.09.2012 20:59, Stefan Ruppert wrote:
> Hi,
>
> I want to add some WPanel objects within a WTabWidget tab. Within the
> tab contents no margin/padding should be used. For a WTableView it works
> fine. But using a WPanel object inside a tab some padding/margin pixel
> are used!
>
> Any ideas?
>
> See attached pictures.
>
> I tried to use the following CSS additions:
>
> .Wt-panel .titlebar {
> padding: 0px;
> margin: 0px;
> }
>
> .Wt-panel .body {
> background-color: #FFFFFF;
> border: 1px solid #98B0D0;
> padding: 0px;
> margin: 0px;
> }
>
>
> Regards,
> Stefan
>
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to