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

Text above single arrow reaction is not centered #2609

Open
Zhirnoff opened this issue Nov 5, 2024 · 1 comment
Open

Text above single arrow reaction is not centered #2609

Zhirnoff opened this issue Nov 5, 2024 · 1 comment
Assignees
Labels
Bug MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: Medium

Comments

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Nov 5, 2024

Steps to Reproduce

  1. Copy and Paste on canvas
$RDFILE 1
$DATM    11/05/24 14:47
$RFMT
$RXN

 -INDIGO- 1105241447

  1  1
$MOL

  -INDIGO-11052414472D

  6  6  0  0  0  0  0  0  0  0999 V2000
    9.9598   -8.6501    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   11.6902   -8.6496    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   10.8266   -8.1500    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   11.6902   -9.6505    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
    9.9598   -9.6550    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   10.8288  -10.1500    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
  3  1  2  0  0  0  0
  1  5  1  0  0  0  0
  5  6  2  0  0  0  0
  6  4  1  0  0  0  0
  4  2  2  0  0  0  0
  2  3  1  0  0  0  0
M  END
$MOL

  -INDIGO-11052414472D

  6  6  0  0  0  0  0  0  0  0999 V2000
   18.3598   -8.6001    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   20.0902   -8.5996    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   19.2266   -8.1000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   20.0902   -9.6005    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   18.3598   -9.6050    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   19.2288  -10.1000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
  3  1  2  0  0  0  0
  1  5  1  0  0  0  0
  5  6  2  0  0  0  0
  6  4  1  0  0  0  0
  4  2  2  0  0  0  0
  2  3  1  0  0  0  0
M  END


$DTYPE Name
$DATUM Agrsthtyjyil9op98p90i6yrtrwwr6u579po9
$DTYPE Reference
$DATUM Not available
$DTYPE Reaction Conditions
$DATUM Agrsthtyjyil9op98p90i6yrtrwwr6u579po9

Actual behavior
Text above single arrow reaction is not centered
2024-11-05_15h01_48

Expected behavior
Text above single arrow reaction is centered as described in requrements p.3 Dynamic Positioning and Alignment

2024-11-05_14h59_23

Desktop:

  • OS: Windows 11
  • Browser Chrome
  • Version 128.0.6613.120 (Official Build) (64-bit)

Ketcher version
[Version 2.26.0-rc.7]
Indigo version
[Version 1.27.0-dev.1]

Bug foun while pre-testing: #2559

@Zhirnoff Zhirnoff added Bug Priority: Medium MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes labels Nov 5, 2024
@Zhirnoff Zhirnoff added this to the Indigo-1.26.0-rc.1 (Current) milestone Nov 5, 2024
@ivanmaslow
Copy link
Collaborator

Alignment depends on size of text:
short.zip:
image
long.zip:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: Medium
Projects
None yet
Development

No branches or pull requests

4 participants