Comments (4)
The Style modifier only affects the look and feel of a widget not its structure nor its layout. The available modifiers are specific to the chosen backend (termion or rustbox) and to your terminal emulator as they refer to their equivalent ANSI escape sequences. Concerning your use case, it is not possible to render a list in such way now without inserting empty strings manually. Therefore, I've added an option to change the corner where the list start to be rendered. Using:
.start_corner(Corner::BottomLeft)
should let you render the list bottom first.
Let me know if #17 fix your problem :)
from tui-rs.
Hi,
I've run into the same problem, and was wondering if #17 might get merged in soon? It looks like exactly what I'm looking for!
Best,
Sasha
from tui-rs.
Hi, I've just released 0.2.3 with the option you requested =)
from tui-rs.
Awesome - thank you so much!!
from tui-rs.
Related Issues (20)
- How to use different styles for a text object?
- How about another style of paragraph wrapping? HOT 1
- Is there a way of modifying individual cells?
- Shell command line and/or/pipeline cause tui not showing properly HOT 2
- Is there a way to update a `Paragraph`? HOT 2
- Is there a way to use embedded ANSI from a string? HOT 1
- Rendering empty Paragraph panics HOT 2
- Empty lines (containing "") are hidden in List output HOT 1
- Multiple selections in a Table HOT 1
- demo deosnt seems to be self contained,build have error could nt found main functions HOT 1
- confused at how to compile and test the demo HOT 2
- Border top with title should render border on the left side
- Better scroll view HOT 1
- Support drawing a portion of the screen
- Get the line number of a string in a paragraph
- Generic state trait
- Using min and max constraints together results in inconsistent (random) layout. HOT 1
- The "intersects" function caused an integer overflow error. HOT 2
- README should say that tui is unmantained and ratatui is the maintained fork HOT 1
- Detecting overflow panic.
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 tui-rs.