cogentcore / core

A free and open source framework for building powerful, fast, elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the web with a single Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.73k stars 82 forks source link

texteditor min size is not using styled spec -- computed min should never exceed style min #1028

Closed rcoreilly closed 3 months ago

rcoreilly commented 3 months ago

Describe the bug

cogent code small tabs are getting an extra scrollbar.

How to reproduce

run stuff in cogent code

Example code

No response

Relevant output

No response

Platform

macOS

rcoreilly commented 3 months ago

should be fixed by 32187c21932e59309b05e0006a0705b2e84f29c5 and 5b04764d4d2ebb075e419c65adc1a22ad9c1b097 -- reopen if it reappears in some other context. also removed extra OverflowAuto styling around texteditors in Code so they handle everything.