Page 1 of 6

NaviCube: improved style

Posted: Tue Apr 09, 2019 1:36 pm
by tyszja
Hi.

I would like to propose the improved style for NaviCube. Here's the comparison:
Image

Pull request was created here: https://github.com/FreeCAD/FreeCAD/pull/2076
Feel free to comment here or in PR.

Reasons behind the pull request and the changes:
This PR resizes down the cube, adjusts transparency to be more easy on the eyes and fit better with the background. Arrows and cube corners sizes were adjusted for better usability and more compact appearance. Icon now uses transparency as well.

Low visibility on white background was not improved though, sorry.

While making these changes I wasn't aware that the original one was heavy inspired by Onshape. Now it's a bit different in proportion and to me it seems better then the one Onshape has.

Regards.

Re: NaviCube: improved style

Posted: Tue Apr 09, 2019 1:49 pm
by Jee-Bee
Is it an option to change settings or is it just a change for everybody?
in the latter what does it looks like on black background i think it is to dark...

Re: NaviCube: improved style

Posted: Tue Apr 09, 2019 2:09 pm
by tyszja
@Jee-Bee: I've just changed the existing, default and hard-coded parameters. There's no user settings support on `master' branch. I'm not aware of any ongoing development happening on other forks on github or the original author planning user settings support for NaviCube. Attaching image with black background.

Re: NaviCube: improved style

Posted: Tue Apr 09, 2019 2:42 pm
by Jee-Bee
Looks good to me.
I have some improvements. but they are the result of something else but i'm almost alone in that...(https://www.freecadweb.org/tracker/view.php?id=3920)

Re: NaviCube: improved style

Posted: Tue Apr 09, 2019 3:53 pm
by yorik
looks good to me too

Re: NaviCube: improved style

Posted: Tue Apr 09, 2019 4:28 pm
by Kunda1
Ideally this could be customized via the UI (since this change from a contrast POV) because this is relative on the user's eyesight. :ugeek:

Re: NaviCube: improved style

Posted: Tue Apr 09, 2019 9:34 pm
by vocx
I DO NOT AGREE WITH CHANGING THE WORDS TO UPPERCASE. NOT EVERYTHING NEEDS TO BE UPPERCASE TO MAKE IT STAND OUT. THIS IS NOT FORTRAN.

Re: NaviCube: improved style

Posted: Wed Apr 10, 2019 2:41 pm
by tyszja
@vocx: I don't mind it being uppercase or lowercase unless the more readable version is chosen. Personal preferences or liking for uppercase or lowercase words does not matter to me.

Both cubes set at the same angle. Font size in both cases was set to maximum, making sure that the 'Bottom' word fully fills the bottom face. Which one is more readable to you? To be honest, I can't tell which one looks better.

Re: NaviCube: improved style

Posted: Wed Apr 10, 2019 5:12 pm
by saso
I would go with the uppercase :roll:

Re: NaviCube: improved style

Posted: Wed Apr 10, 2019 5:18 pm
by PrzemoF
UI option to edit the text? I want to see North instead of BACK ;)