Mercurial > projects > dwt-win
comparison dwt/custom/StackLayout.d @ 315:349b8c12e243
Sync dwt/custom with dwt-linux
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 07 Oct 2008 16:18:26 +0200 |
parents | fd9c62a2998e |
children |
comparison
equal
deleted
inserted
replaced
314:0e2b4fed7a0f | 315:349b8c12e243 |
---|---|
10 * Port to the D programming language: | 10 * Port to the D programming language: |
11 * Frank Benoit <benoit@tionex.de> | 11 * Frank Benoit <benoit@tionex.de> |
12 *******************************************************************************/ | 12 *******************************************************************************/ |
13 module dwt.custom.StackLayout; | 13 module dwt.custom.StackLayout; |
14 | 14 |
15 import dwt.dwthelper.utils; | |
16 | |
15 | 17 |
16 | 18 |
17 import dwt.DWT; | 19 import dwt.DWT; |
18 import dwt.graphics.Point; | 20 import dwt.graphics.Point; |
19 import dwt.graphics.Rectangle; | 21 import dwt.graphics.Rectangle; |
21 import dwt.widgets.Control; | 23 import dwt.widgets.Control; |
22 import dwt.widgets.Layout; | 24 import dwt.widgets.Layout; |
23 | 25 |
24 import tango.util.Convert; | 26 import tango.util.Convert; |
25 static import tango.text.Util; | 27 static import tango.text.Util; |
26 import dwt.dwthelper.utils; | |
27 | 28 |
28 /** | 29 /** |
29 * This Layout stacks all the controls one on top of the other and resizes all controls | 30 * This Layout stacks all the controls one on top of the other and resizes all controls |
30 * to have the same size and location. | 31 * to have the same size and location. |
31 * The control specified in topControl is visible and all other controls are not visible. | 32 * The control specified in topControl is visible and all other controls are not visible. |