Git Product home page Git Product logo

Comments (8)

jorgebastida avatar jorgebastida commented on June 15, 2024

Sounds like a great idea!

I'm thinking about rewriting part of the core to allow more algorithms / orderings so we can simple add a new one named... 'vertical' that simply pile up all the images.

Definitely a good idea :)

from glue.

jhubert avatar jhubert commented on June 15, 2024

That would be awesome. Once you have that, I'm very much looking forward to using it and telling my friends. If I can help in any way, let me know. I already tried pulling apart the code to submit a patch, but since I don't know python very well I feel like it might be pretty rough compared to what you can do. :-/

from glue.

jorgebastida avatar jorgebastida commented on June 15, 2024

Check the feature/algorithms branch :) master...feature/algorithms

from glue.

jhubert avatar jhubert commented on June 15, 2024

Awesome! Going to test it out now. If it works, I'll be sharing this with the internal tools group at Yahoo!. :)

from glue.

jorgebastida avatar jorgebastida commented on June 15, 2024

Merged into master. This changes will be part of the release 0.2 :)

from glue.

jhubert avatar jhubert commented on June 15, 2024

Nice work. Thanks so much for adding this. :D

from glue.

gibbitz avatar gibbitz commented on June 15, 2024

I know this ticket is closed, but I've run into an issue with this feature. I will post an issue on it, but here's the jist. When multiple width images are sprited they all align to the left. When adding icons to the right of text, there is no way to verify that the distance to the image will align with the right of an element. For example: say you want to align an icon denoting filetype to the end of a link featuring the name of said document (PDF or word Icon on the right of the textlink) in the same sprite, you have custom lozenge shaped button images that are 2x as wide. To get the image to right align with "My Technical Thesis on Documentation of Features" the value will be different than "My Resume". Long description of the problem aside. The solve for this would be to allow right alignment of these stacks (actually this should be the default behavior) because the equivalent issue on left aligning would be a set number of pixels that would be the same for every image.

from glue.

jorgebastida avatar jorgebastida commented on June 15, 2024

I'll close this issue and continue it here: #32

from glue.

Related Issues (20)

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.