Fix: height, not width
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1401 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
2b39547158
commit
9cefcc8a9c
|
@ -107,7 +107,7 @@ int nxtk_setsize(NXTKWINDOW hfwnd, FAR struct nxgl_size_s *size)
|
|||
/* Add the sizes need for the toolbar and the borders */
|
||||
|
||||
newsize.w = size->w + 2 * CONFIG_NXTK_BORDERWIDTH;
|
||||
newsize.h = size->w + fwnd->tbheight + 2 * CONFIG_NXTK_BORDERWIDTH;
|
||||
newsize.h = size->h + fwnd->tbheight + 2 * CONFIG_NXTK_BORDERWIDTH;
|
||||
|
||||
/* Then set the window size */
|
||||
|
||||
|
|
Loading…
Reference in New Issue