Comments (4)
I now have a branch with the Flex engine from Laurent Sansonetti and Stephane Delcroix here, but I have not had a chance to try it out yet:
https://github.com/migueldeicaza/gui.cs/tree/layout
https://github.com/migueldeicaza/gui.cs/blob/layout/Terminal.Gui/Flex.cs
Samples in the original C codebase:
https://github.com/xamarin/flex/blob/master/demo/FlexDemo/FlexView.m
from terminal.gui.
New branch for layout work is flex
from terminal.gui.
Ok, my current thinking is that I should perhaps introduce Views that can do layout, and we would have a FlexView, which would apply Flex rules to the children, and have "attached" properties on the views to configure the item properties.
While Flex is very good, it might be premature to make this the sole way to lay out objects.
from terminal.gui.
Used an alternative system, might revisit flex layer
from terminal.gui.
Related Issues (20)
- Refactor `Border` to use subviews for title, lines, and close button
- Long-standing repaint-flicker issue. HOT 8
- `Content Scrolling` Scenario doesn't illustrate `ClearContentOnly` properly
- Improve redraw performance by making `Clip` be a `Region` instead of `Rectangle` HOT 22
- `TextFormatter` bugs HOT 35
- Add internal analyzers and source generators HOT 7
- v1 - Wizards scenario doesn't refresh after opened by mouse.
- v1 - Views should not force focus if they are not selected.
- v1 - ScrollView is not clearing the background by duplicating views.
- TextView and TextField are showing the cursor beyond their limits. HOT 1
- TextView deselects text when the mouse button is released. HOT 1
- Create source generator to pimp our enums HOT 13
- Re-factor `Cursor` handling per `./docfx/docs/cursor.md` HOT 1
- .NET Standard 2.0 build for Terminal.Gui HOT 14
- Can't build the current v2_develop branch 37f59d2 HOT 44
- LayoutSubviews should be restricted to the `ContentSize` and not `Viewport.Size` HOT 9
- Verify correct use of `Viewport` vs. `ContentSize` HOT 1
- Analyzers unit test are failing on Windows. HOT 1
- Mixing signatures for ScreenToX between `int` and `Point` HOT 7
- File name casing can break builds on linux HOT 4
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 terminal.gui.