Edwin Leuven wrote:
Edwin Leuven wrote:
Abdelrazak Younes wrote:
Is it with the table toolbar or the table dialog?

both

if i insert a table, select it, and unset all borders with toolbar i still see a grid

there seems to be a problem with drawing, not with the dialog or toolbar


i looked at this more closely and i need get rid of the check at the beginning of setQPainterPen to get correct drawing of table borders

void QLPainter::setQPainterPen(QPainter & qp, LColor_color col,
    Painter::line_style ls, Painter::line_width lw)
{
    //if (col == current_color_ && ls == current_ls_ && lw == current_lw_)
    //    return;


...


it seems that current_ls_ is not current

Hum, that's weird indeed. Nice detective work!


to see this yourself apply the attached patch and set/unset a couple of borders

i haven't been able to track down where the pen style is changed though...

Yes, rather than fixing the symptom we should fix the origin of the problem.

Thanks for looking at this,
Abdel.

Reply via email to