diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-17 16:35:30 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-17 16:35:30 -0400 |
| commit | 2b95335e6e3cdd9aac7995c919292ff0a33d2e9d (patch) | |
| tree | e0b8eb5f31d2f237fe9db5b24353db16233bc482 /newctrl/container_windows.go | |
| parent | b37759be84dc089b1d31b79cdf4e3a348014c784 (diff) | |
Cleaned up some code.
Diffstat (limited to 'newctrl/container_windows.go')
| -rw-r--r-- | newctrl/container_windows.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/newctrl/container_windows.go b/newctrl/container_windows.go index 521b205..5a0336d 100644 --- a/newctrl/container_windows.go +++ b/newctrl/container_windows.go @@ -98,18 +98,6 @@ func (w *window) beginResize() (d *sizing) { d.xpadding = fromdlgunitsX(paddingDialogUnits, d) d.ypadding = fromdlgunitsY(paddingDialogUnits, d) -/*TODO - if c.isGroup { - // note that these values apply regardless of whether or not spaced is set - // this is because Windows groupboxes have the client rect spanning the entire size of the control, not just the active work area - // the measurements Microsoft give us are for spaced margining; let's just use them - d.xmargin = fromdlgunitsX(groupXMargin, d) - d.ymargintop = fromdlgunitsY(groupYMarginTop, d) - d.ymarginbottom = fromdlgunitsY(groupYMarginBottom, d) - - } -*/ - return d } |
