archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
955 stars 268 forks source link

[feature request] Increase the size of bending points #825

Closed MkCons closed 2 years ago

MkCons commented 2 years ago

Hi,

Is there a way to increase the size of the bending points?

Even though I know they are supposed to be in the middle, it's really hard to find them.

Thanks,

Phillipus commented 2 years ago

Yes, they are a bit small.

There are two types of bend-point - "Create" and "Move". "Create" bend-points are smaller than "Move" bend-points and the single "Create" bend-point on a connection without any bend-points is not very visible. I think increasing the size of the "Create" bend-point by 1 pixel will help.

MkCons commented 2 years ago

Thank you for the tip. I increased the DEFAULT_HANDLE_SIZE in SquareHandle instead. That's even better, it's like an accessibility mode.

Phillipus commented 2 years ago

Thank you for the tip. I increased the DEFAULT_HANDLE_SIZE in SquareHandle instead. That's even better, it's like an accessibility mode.

DEFAULT_HANDLE_SIZE affects all connection handles. But that's a matter of taste. For the next version of Archi, only the Create handle will be made bigger.

MkCons commented 2 years ago

I ended up creating a new menu in preferences to update the handle_size. If you think there's value I'll do a pull req but I don't I did a clean job: I store the value in swtPrefs (AppearancePreferencePage), plus set it in SquareHandle as a static value and then initialize when opening through ArchiWorkbenchWindowAdvisor.postWindowOpen.

Phillipus commented 2 years ago

I don't want to make drastic changes, so I'll just increase the Create bend-point size.