touretzkyds / MarkovChainDemo

Generate text using a Markov chain
Creative Commons Zero v1.0 Universal
3 stars 2 forks source link

horizontal layout in a box #24

Closed touretzkyds closed 1 month ago

touretzkyds commented 2 months ago

Load the article on "chocolate" and switch to trigram mode. Click on "a b" in pane 2. There are a lof of successors, so we get a box in pane 4. Some of the items in the box overlap each other due to insufficient horizontal spacing. Why is this happening?

touretzkyds commented 2 months ago

There is no longer a box in pane 4, but the vertical spacing of the four successors to "b c" is inadequate.

touretzkyds commented 2 months ago

The vertical spacing looks good now for "b c". But why is the right bracket spacing in level 2 so irregular?

thetechdude124 commented 2 months ago

Right bracket spacing is based on the longest word in the previous chain. For longer words, the bracket shifts more to the right. I can make this fixed if you'd like?

On Mon, 15 Jul 2024 at 19:26, Dave Touretzky @.***> wrote:

The vertical spacing looks good now for "b c". But why is the right bracket spacing in level 2 so irregular?

— Reply to this email directly, view it on GitHub https://github.com/touretzkyds/MarkovChainDemo/issues/24#issuecomment-2229612463, or unsubscribe https://github.com/notifications/unsubscribe-auth/APUIVYBAQX7UOACI4ZX7ELLZMRLEDAVCNFSM6AAAAABKPHJDQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRZGYYTENBWGM . You are receiving this because you were assigned.Message ID: @.***>

touretzkyds commented 1 month ago

Looks good now.