mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 22:05:21 +00:00
Fix: height, not width
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1401 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
18a1f48fa0
commit
dd4ade3867
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue