- pwidth = tabular->GetMColumnPWidth(cell);
- align = tabular->GetAlignment(cell);
- if (align == LYX_ALIGN_LEFT)
- fl_set_button(cell_options_->radio_align_left, 1);
- else if (align == LYX_ALIGN_RIGHT)
+ pwidth = tabular.getMColumnPWidth(cell);
+ align = tabular.getAlignment(cell);
+ // set the horiz. alignment, default is left here
+ fl_set_button(cell_options_->radio_align_left, 0);
+ fl_set_button(cell_options_->radio_align_right, 0);
+ fl_set_button(cell_options_->radio_align_center, 0);
+ if (align == LYX_ALIGN_RIGHT)