Locked Re: wxpython
I think its feasible for a blind person to precisely position controls in a window. On the other hand, if WX developers think using x/y coordinates to position a control is a bad UI design practice, then it applies to everyone, not just blind people.
Sent from Mail for Windows 10
Sent: Monday, May 4, 2020 2:09 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] wxpython
I don't think this is so.
The developers of wxPython often say that it is wrong to make adjustments with pos.
On 04/05/2020 21:01, Andy B. wrote:
Specifying locations of WX controls is completely feasible for a blind person. After all, this is why I am writing a getting’s started guide for Developer toolkit. It solves this very problem.
Sent from Mail for Windows 10
From: Sean
Sent: Monday, May 4, 2020 1:59 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] wxpython
Two values are written to pos. The values are tuple.
X and Y coordinates.
X horizontal, Y vertical.But this approach is not a good approach for a blind programmer. Because items on the screen will overlap frequently.
The order of Pixels changes on each screen. For example 1320x720
I recommend setting the sizer system to Grid.
Sizer splits the screen like a table and places items like the columns of this table.On 04/05/2020 19:44, bhanu computer wrote:
hi all, i want to position my wxpython controlls to top botm ubut i dont know which int sets which position. for example wx.Button(pos=) where i left empty after equals i dont know what to fill here. i mean i dont know which value puts in which position. please tell me which value put the controll in which position. thanks in advance
--
Sean
I’m student and programmer. I write often Python, sometimes Go and rare C++.
I can understand Turkish and English.
--
Sean
I’m student and programmer. I write often Python, sometimes Go and rare C++.
I can understand Turkish and English.