kirubaharan12345 / blueprintcss

Automatically exported from code.google.com/p/blueprintcss
0 stars 0 forks source link

grid_builder.rb - height of grid.png #107

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Running compress.rb with a custom grid setup.

What is the expected output? What do you see instead?

Expecting a background image (grid.png) of 18px height.
But the generated file has a different height.
In grid_builder.rb a height of 20px is defined:

# instance methods
  def generate!
    return false unless self.able_to_generate
    total_width = self.column_width + self.gutter_width
    height = 20
    RVG::dpi = 100
    ...

What version of the product are you using? On what operating system?

BP 0.7.1, OS X 10.5

Please provide any additional information below.

Can't find a reason for using a different height in grid_builder.rb.
Particularly because the bundled default grid.png is 18px high.

Is this just a typo?

Thanks!

Original issue reported on code.google.com by fb.gesta...@googlemail.com on 26 May 2008 at 3:10

GoogleCodeExporter commented 8 years ago
Copied over to
http://blueprintcss.lighthouseapp.com/projects/15318/tickets/23-grid_builder-rb-
height-of-grid-png#ticket-23-1
For details please check the mailinglist's archive

Original comment by horst.gu...@gmail.com on 13 Aug 2008 at 9:24