diff options
| author | trustable-code <krauter.simon@arcor.de> | 2018-12-21 20:07:20 +0100 |
|---|---|---|
| committer | trustable-code <krauter.simon@arcor.de> | 2018-12-21 20:07:20 +0100 |
| commit | 21bd91da9e444fd76c7f9cb622d31eca40b0ef3f (patch) | |
| tree | 9874d17d2aa21ba0a687b53743b6536a4b3bc989 /src | |
| parent | 6be838926056a1437e4b449c552da8de4dae6a34 (diff) | |
| download | NiGui-21bd91da9e444fd76c7f9cb622d31eca40b0ef3f.tar.gz NiGui-21bd91da9e444fd76c7f9cb622d31eca40b0ef3f.zip | |
Cleanup
Diffstat (limited to 'src')
| -rwxr-xr-x | src/nigui.nim | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nigui.nim b/src/nigui.nim index 6eda16a..edfed15 100755 --- a/src/nigui.nim +++ b/src/nigui.nim @@ -2136,8 +2136,6 @@ method realignChildControls(container: LayoutContainer) = width = clientWidth - container.padding * 2 elif control.widthMode == WidthMode_Auto: width = control.wantedWidth - # elif control.widthMode == WidthMode_Fill: - # width = clientWidth - container.padding * 2 if control.minWidth > width: width = control.minWidth @@ -2154,8 +2152,6 @@ method realignChildControls(container: LayoutContainer) = height = clientHeight - container.padding * 2 elif control.heightMode == HeightMode_Auto: height = control.wantedHeight - # elif control.heightMode == HeightMode_Fill: - # height = clientHeight - container.padding * 2 if control.minHeight > height: height = control.minHeight |
