summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrustable-code <krauter.simon@arcor.de>2018-12-21 20:07:20 +0100
committertrustable-code <krauter.simon@arcor.de>2018-12-21 20:07:20 +0100
commit21bd91da9e444fd76c7f9cb622d31eca40b0ef3f (patch)
tree9874d17d2aa21ba0a687b53743b6536a4b3bc989 /src
parent6be838926056a1437e4b449c552da8de4dae6a34 (diff)
downloadNiGui-21bd91da9e444fd76c7f9cb622d31eca40b0ef3f.tar.gz
NiGui-21bd91da9e444fd76c7f9cb622d31eca40b0ef3f.zip
Cleanup
Diffstat (limited to 'src')
-rwxr-xr-xsrc/nigui.nim4
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