Comments (4)
Yeah this is an issue I was aware of. At the moment, the widgets only search directly in the column/row they are in. The logic for assigning neighbors should probably be looked at. I was thinking about storing widget ids for up, down, left, and right, as they are added in, so that it doesn't have to calculate this on the fly, and so that better matches are assigned for each direction if available.
from py_cui.
I think I have an idea to resolve after looking around how it works now. Ill play around with some stuff and see if its something you want to use. If its not, no biggie!
from py_cui.
If you put something together I'll take a look for sure. I'll eventually do something myself, but at the moment not much time for personal project work, so if you solve the problem all the better for me!
from py_cui.
Closing, resolved with v0.1.0. Some progress can still be made, as diagonal movements are still not supported, so widgets still need to have some common border, but I think that can be a separate issue.
from py_cui.
Related Issues (20)
- Skip focus for certain widgets HOT 3
- ....
- Add an outer border around the textbox popup
- Cannot update widgets in a for or while loop HOT 3
- Possibility to delete color rules HOT 2
- ERROR: self.get_widgets()[next_widget_num] is None HOT 10
- CUI not accessable, after posting terminal output to window HOT 7
- Cycling widgets does not respect the non selectable widget option
- ScrollTextBlock not rending text correctly once text row length is GTE viewport rows/y dimension
- [not-a-bug][help-wanted] How to change border colors of selected buttons HOT 1
- Error when running .clear() on text_block HOT 3
- Allow multi-line items for scroll_menu
- [FIX] For list index out of range when clicking blank space with mouse in a MenuPopup HOT 1
- Add option for dumping py_cui interface as xml (machine readable) file
- Can only select text with a right click and cannot drag mouse to select on demand HOT 1
- HOME and END in TextBoxPopup places cursor outside of popup box HOT 1
- getting ModuleNotFoundError: import py_cui while running examples HOT 1
- Trouble installing via pip on Windows HOT 2
- [notabug][helpwanted] Not sure how popup is meant to work ? HOT 1
- Executing code with `py_cui` yields no results on my terminal (cmd) on my windows 11 platform HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py_cui.