Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grid Formatting Demo
#6
(02-21-2025, 07:09 PM)madscijr Wrote:
(02-21-2025, 06:54 PM)SMcNeill Wrote: That's cause I just didn't leave enough digits for such big values.  Change that format$ to add a few ## symbols.
Impressive how you boiled it down to be so simple.
However I'm not sure one of them is working... 
Entering 555 for the # of items, here's a side-by-side comparison for the 2 programs...


LayoutSteve.ColsMad.ColsSteve.RowsMad.RowsSteve.EmptyMad.Empty
HD display32331817216
Letter Size342044209415
Square242424242121

Thoughts?

33:17 isn't the same ratio as 16:9, so yours is failing to match the grid somewhere.

16:9 is a 1.77777 ratio.
33:17 is a 1.9411 ratio.

Those aren't the same at all.  

As for the letter size, that's because I swapped it to an integer ratio and not anything fractional.  (17 x 22 instead of 8.5 x 11)  I figure it's hard to break your items into half-grids like that, so I wanted to go with an integer ratio.  

And again, the ratio for yours isn't holding true to that 17x22 ratio.  In fact, I'm not even certain how yours can call that a solution.

20 rows, 20 columns = 400 items for your grid.   How are you going to put your 555 items into the grid, and still have 5 empty spaces left over?  

Something is wrong with the math on yours, somewhere along the way.  Sad
Reply


Messages In This Thread
Grid Formatting Demo - by SMcNeill - 02-21-2025, 05:59 PM
RE: Grid Formatting Demo - by Pete - 02-21-2025, 06:52 PM
RE: Grid Formatting Demo - by SMcNeill - 02-21-2025, 06:54 PM
RE: Grid Formatting Demo - by madscijr - 02-21-2025, 07:09 PM
RE: Grid Formatting Demo - by SMcNeill - 02-21-2025, 07:29 PM
RE: Grid Formatting Demo - by madscijr - 02-21-2025, 07:45 PM
RE: Grid Formatting Demo - by Pete - 02-21-2025, 07:13 PM
RE: Grid Formatting Demo - by SMcNeill - 02-21-2025, 07:36 PM
RE: Grid Formatting Demo - by SMcNeill - 02-21-2025, 08:07 PM
RE: Grid Formatting Demo - by madscijr - 02-24-2025, 04:14 PM
RE: Grid Formatting Demo - by Pete - 02-21-2025, 08:15 PM
RE: Grid Formatting Demo - by madscijr - 02-21-2025, 09:26 PM
RE: Grid Formatting Demo - by madscijr - 02-21-2025, 09:58 PM
RE: Grid Formatting Demo - by SMcNeill - 02-22-2025, 12:16 AM
RE: Grid Formatting Demo - by madscijr - 02-22-2025, 03:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  MouseMovement Demo SMcNeill 0 642 10-15-2023, 11:42 PM
Last Post: SMcNeill
  Isometric Mapping Demo SMcNeill 2 1,020 09-23-2023, 03:33 PM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)