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

Separator lines margin error #7

Closed
MarceloCavaco opened this issue Sep 10, 2019 · 4 comments
Closed

Separator lines margin error #7

MarceloCavaco opened this issue Sep 10, 2019 · 4 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@MarceloCavaco
Copy link

MarceloCavaco commented Sep 10, 2019

hi, i found a error when use separator (pipe)

the line not consider the margin.

im do something wrong???

print img:
https://drive.google.com/open?id=15PjKkHd5Cr2nE9pF60CNyDXEVoiyCeDx

the source:

<pre id="sourcePinker_atributo" style="display:none;">
Layout:
	[{A}Atributo]
	[{B}atributo_item]
Relate:
	{A}-&gt;{B}
{A}:
	Define:
		id_organizacao (Organização) - Int
		id_atributo (Código) - Int|
		ds_atributo (Descrição) - String(30)
		dt_atualizacao (Alteração) - String(20)
{B}:
	Define:
		id_organizacao (Organização) - Int
		id_atributo (Atributo) - Int
		id_atributo_item (Código) - Int|
		dt_atualizacao (Data de Alteração) - Date(10)
		ds_atributo_item (Descrição) - String(30)
</pre>
@WithoutHaste WithoutHaste added the bug Something isn't working label Sep 11, 2019
@WithoutHaste WithoutHaste self-assigned this Sep 11, 2019
@WithoutHaste
Copy link
Owner

Hi, are you using any custom settings? I have not been able to reproduce the bug with the default settings.

Your syntax is correct, so the problem is definitely in Pinker.

@WithoutHaste
Copy link
Owner

I've reproduced the error. Working on it...

@WithoutHaste WithoutHaste added this to the Release v1.4 milestone Sep 11, 2019
@MarceloCavaco
Copy link
Author

tkx...

@WithoutHaste
Copy link
Owner

Cause of error:
When setting favorUniformNodeSizes:true
DefineLayout.draw assumed that the text area would be horizontally centered in the node, so it centered the dividing line over the text area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants