Bug #3174

Ubuntu, GTK3, Table headers are hidden

Added by Matthieu Decorde about 1 year ago. Updated 11 months ago.

Status:New Start date:10/19/2021
Priority:High Due date:
Assignee:- % Done:

80%

Category:UI / Editor Spent time: -
Target version:TXM 0.8.2

Description

SWT Table headers are hidden when a result is computed. Switching between editors restores the headers

Solution

The TXMEditor.packColumns(TableViewer viewer) does not refrech correctly the headers of the aĉked columns

commenting the "viewer.getControl().setRedraw(...);" lines fix the problem BUT affects fluidity (Windows only ?)

Associated revisions

Revision 3339
Added by Matthieu Decorde 11 months ago

fix column headers in TXMEditor tables refs #3174

History

#1 Updated by Matthieu Decorde 11 months ago

  • Description updated (diff)
  • % Done changed from 0 to 10

#2 Updated by Matthieu Decorde 11 months ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde 11 months ago

  • % Done changed from 10 to 80

MD: I've replace the call of column.pack() method with a simple max width computation (use column text and content text)

Also available in: Atom PDF