Originally Posted by
xxdoc123
The form appears too large for my laptop
you can constrain the max size of generated puzzles by limiting the width and height of the grid.
in modPuzzle.bas at the top is this line of code
Code:
Public Const MAX_PUZZLE_ROWS As Long = 36
use this formula to figure out the correct number to put here
Code:
(<monitor resolution height> - 106) / 35) - 2
so for example if your monitor resolution is 1080p height then you would use
Code:
(1080 - 106 / 35) - 2 = 25
Public Const MAX_PUZZLE_ROWS As Long = 25
that should limit the puzzles from being generated to large for your screen.
my resolution is 2560x1440 which is why its 36
edit: just to explain what the numbers mean - 106 is the width of the clues in pixels, 35 is the width of each textbox in the grid in pixels. taking off 2 from the answer allows for spacing and borders.
so your using this formula: (<monitor height resolution> - <clue list width> / <puzzle textbox size> ) - <border and spacing>
you can also make the grid textbox's a little smaller to fit more into to screen area
just also be aware that not as many words may be resolved the smaller the grid becomes
regards
lewis