Set padding to 0 when client is maximized.

CCBUG: 274177
This commit is contained in:
Hugo Pereira Da Costa 2011-05-30 17:56:50 +02:00
parent 8c7585e500
commit c7f87d49d7

View file

@ -371,7 +371,8 @@ namespace Oxygen
case LM_OuterPaddingRight:
case LM_OuterPaddingTop:
case LM_OuterPaddingBottom:
return shadowCache().shadowSize();
if( maximized ) return 0;
else return shadowCache().shadowSize();
default:
return KCommonDecoration::layoutMetric(lm, respectWindowState, btn);