prmr / JetUML

A desktop application for fast UML diagramming.
GNU General Public License v3.0
619 stars 121 forks source link

[#553] Scroll Bar Fix #555

Closed jkcoding7 closed 1 month ago

jkcoding7 commented 1 month ago

Scroll bars unnecessarily appear on the TextArea in the properties dialog of a node, if the user has their monitor display setting at a higher scale (greater than 100% on Windows).

The scroll bars appear because the dimension of the TextArea is larger than the space that is allocated by its ScrollPane parent. This mismatch seems to occur due to JavaFX not considering the effect scale has on dimension computation for different components.