Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How do I get less space between name and dates #68

Closed
JustCarmen opened this issue Jan 21, 2024 · 4 comments
Closed

Question: How do I get less space between name and dates #68

JustCarmen opened this issue Jan 21, 2024 · 4 comments

Comments

@JustCarmen
Copy link

I am using your charts with minor modifications.

I noticed the boxes in the latest version are larger than before. As a result, there is much more unused and unnecessary space between the names and the dates.

Old version:
Snag_30dd73ec

Current version:
Snag_30de28c4

You probably have your reasons for this change, but I like more the compact layout of the previous version. So I tried to get it back, but I can't get it to work:

I figured out that I should change LAYOUT_VERTICAL_NODE_WIDTH en LAYOUT_VERTICAL_NODE_HEIGHT in resources\js\modules\lib\constants.js. I reset the values to the old values (150 and 175).

But then I get this:
Snag_30ed6121

The dates are outside the box

And now I am stuck. What else should I change?

@magicsunday
Copy link
Owner

The extra space is used for the alternative name of an individual, as its currently not possible to create boxes with different heights.

grafik

@magicsunday
Copy link
Owner

I added a module config and a form option to show/hide the alternative name.

grafik
grafik

@xiaoyang2013
Copy link

xiaoyang2013 commented Mar 27, 2024

314504056-3a8f9b50-bb2a-4cfb-a362-fe026119d1b6
Where can I see this configuration? I did not find this interface in the background of version 1.7.1.
webtrees 2.1.19

@JustCarmen
Copy link
Author

Thanks Rico for this fix. Works fine.

@xiaoyang2013 This code has been added to the development version and will be part of the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants