• Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • None
    • None
    • Editor general

      problem

      The horizontal offset of the roweditor is wrong if:

      • the "edited at" column was shown while editing (in general on column hide/show?)
      • if in the segment grid we scrolled a little bit to right and then we edit a segment, then the offset is also wrong

          [TRANSLATE-1056] RowEditor horizontal offset is wrong

          Since solving that issue needs to much time at the moment, we defer it.

          Thomas Lauria added a comment - Since solving that issue needs to much time at the moment, we defer it.

          Thomas Lauria added a comment - - edited

          The problem comes from the internal width calculation of the rowEditor. The width is calculated to high, this leads then to the wrong positioning.
          The innerCt of the row editor is to wide, exactly about the pixels of the HtmlEditor width. The calculation of the innerCt width is done by layout recalculation of the roweditor. Since the HtmlEditor - which is positioned absolute on the existing but not visible displayfield of the edited content - is also a item of the roweditor, the width of the roweditor is calculated with the width of the htmleditor - which is to much!
          Current solution: no
          Ideas:

          • remove htmleditor from layout calculation?
          • instead of using absolute positioning we use a real position of the editor and flip position inside the roweditor?

          Thomas Lauria added a comment - - edited The problem comes from the internal width calculation of the rowEditor. The width is calculated to high, this leads then to the wrong positioning. The innerCt of the row editor is to wide, exactly about the pixels of the HtmlEditor width. The calculation of the innerCt width is done by layout recalculation of the roweditor. Since the HtmlEditor - which is positioned absolute on the existing but not visible displayfield of the edited content - is also a item of the roweditor, the width of the roweditor is calculated with the width of the htmleditor - which is to much! Current solution: no Ideas: remove htmleditor from layout calculation? instead of using absolute positioning we use a real position of the editor and flip position inside the roweditor?

            tlauria Thomas Lauria
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: