bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird positioning of widgets within cdk screens


From: Thomas Dickey
Subject: Re: Weird positioning of widgets within cdk screens
Date: Sun, 29 Nov 2015 20:40:15 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Nov 26, 2015 at 09:09:36PM -0800, Elliot Li wrote:
> Hello,
> 
> I’m having this problem when trying the cdk library.  I created several new
> WINDOW and ran initCDKScreen() on them to manage different collection of
> widgets.  After that I create cdk widgets in these screens.  However the xpos
> and ypos I used for widgets seem not right.  For one screen, (0,0) is the top
> left corner of the screen, which is correct, but (1,1) is not at location
> (1,1) but at (1,1); (1,2) is shown at (1,1).  For another screen, (5,5) is
> shown at (0,5).  I don’t know if this is random or if I did something very
> wrong.
> 
> Do you guys have any clue why this can happen? Thanks in advance.

offhand, no - a simple test-program illustrating the problem helps.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]