Giter Site home page Giter Site logo

cursive-flexbox's Introduction

Description

Hi, I'm just me. Yup, I never know what to write in these. I like sofware (a lot). Linux (read Arch), Open Source, programming, software architecture... I didn't say I'm good at any of these, just that I'm interested. I also love messing around with electronics from time to time. Analog, digital, stuff I probably shouldn't be messing with in the first place like live wires, the whole bunch.

Style

Don't have any. Never had. Unless we're talking software, in which case I'd have to say ๐Ÿ_case. Nothing goes above a simple snek.

Building

Uh, to start building me, get me some tea, everything should be automatic from there on out.

Bugs

I hate 'em. Both in software and in real life.

Contributing

I'm always down to learn new things, and I'll get things wrong (very often). I like to contribute to easier Rust projects for now, to try and get a better grasp of Rust in general. I also know c, c++ and Java, but haven't used those in a while since I prefer Rust.

My projects

cursive-flexbox's People

Contributors

thomasfrans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

abutcher-gh

cursive-flexbox's Issues

Reimplement Layout Using Taffy Library

What do you want to improve?
Currently cursive-flexbox uses a manual implementation of flexbox. The Rust library Taffy has a generic implementation of a flexbox that also adheres to the standard and would probably be faster, more efficient and promise better quality in general. I'm currently not considering moving to Taffy as part of this project was to learn the ins and outs of flexbox, but if anyone else would be interested, I would happily accept the change.

How would you want to improve it?
Reimplement the layout part of this library using Taffy.

Items don't adapt properly to limited space.

Bug description
Items at the end of the cross axis shrink instead of flowing over the end like they are supposed to. Normally this would give the illusion that the items continue further than the visible end, but currently they look like they adapt.

What did you expect to happen?
The final item in the cross axis direction should not adapt to the fact that it doesn't have enough space, and instead should pretend like it has enough space in that direction.

Screenshots
The 'And a final item for good' is supposed to say 'And a final item for good luck' with a line break after the 'good', but right now the panel adapts to the fact that it doesn't have enough space at the end of the cross axis. This isn't the desired behavior. The final item should think that it has enough space and take all the space in the direction of the cross axis that it needs. In practice that means that the final item should spell out the full sentence and the last border of the final item should not be rendered instead.
image

Extra Information:

  • Version: main branch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.