Comments (8)
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.
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.
Check the feature/algorithms branch :) master...feature/algorithms
from glue.
Awesome! Going to test it out now. If it works, I'll be sharing this with the internal tools group at Yahoo!. :)
from glue.
Merged into master. This changes will be part of the release 0.2 :)
from glue.
Nice work. Thanks so much for adding this. :D
from glue.
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.
I'll close this issue and continue it here: #32
from glue.
Related Issues (20)
- Allow ratio_suffix delimiter to be customised
- Crashes on filenames with non-english (non-ascii?) characters
- Support jinja2 2.8 HOT 3
- Unicode in filenames issue with generate_css_name HOT 1
- Ratios are not ordered correctly
- You've found a bug!
- You've found a bug!
- git status
- Won't run on Ubuntu 16.0.4 HOT 1
- [Feature Request] Generate CSS based on % HOT 3
- Path parameter doesn't support non-ANSI.
- Could add inverse functions for glue?
- Using glue for sprite Animations
- Support Jinja2 2.10 HOT 2
- 'module' object has no attribute 'VERSION' HOT 1
- Can't create sprite with glue
- Typo; extra single quote, but irrelevant really
- glue command fails with error
- Glue does not support decimal margins
- .
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 glue.