Mercurial > projects > dwt-addons
comparison dwtx/ui/forms/widgets/ColumnLayout.d @ 192:c3583c6ec027
Added missing default cases for switch statements
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 03 Nov 2008 22:52:26 +0100 |
parents | 5d489b9f966c |
children |
comparison
equal
deleted
inserted
replaced
191:1ef729510ed6 | 192:c3583c6ec027 |
---|---|
252 child.setBounds(x + fillWidth - childWidth, topMargin+colHeight, childWidth, csize.y); | 252 child.setBounds(x + fillWidth - childWidth, topMargin+colHeight, childWidth, csize.y); |
253 break; | 253 break; |
254 case ColumnLayoutData.CENTER : | 254 case ColumnLayoutData.CENTER : |
255 child.setBounds(x + fillWidth / 2 - childWidth / 2, topMargin+colHeight, childWidth, csize.y); | 255 child.setBounds(x + fillWidth / 2 - childWidth / 2, topMargin+colHeight, childWidth, csize.y); |
256 break; | 256 break; |
257 default: | |
257 } | 258 } |
258 | 259 |
259 colHeight += csize.y; | 260 colHeight += csize.y; |
260 } | 261 } |
261 } | 262 } |