fix bug 572

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@5910 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-01-07 13:28:03 +00:00
parent fd5bd83eaf
commit 7e552c30c1
3 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2003-01-07 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* FormTabular.C: fix bug 572.
2002-12-18 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* xforms_helpers.C: (updateWidgetsFromLength)

View File

@ -232,12 +232,16 @@ void FormTabular::update()
}
pwidth = tabular->GetMColumnPWidth(cell);
align = tabular->GetAlignment(cell);
if (!pwidth.zero() || (align == LYX_ALIGN_LEFT))
fl_set_button(cell_options_->radio_align_left, 1);
else if (align == LYX_ALIGN_RIGHT)
// 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 (!pwidth.zero() || (align == LYX_ALIGN_RIGHT))
fl_set_button(cell_options_->radio_align_right, 1);
else
else if (align == LYX_ALIGN_CENTER)
fl_set_button(cell_options_->radio_align_center, 1);
else
fl_set_button(cell_options_->radio_align_left, 1);
align = tabular->GetVAlignment(cell);
fl_set_button(cell_options_->radio_valign_top, 0);

View File

@ -29,6 +29,9 @@ What's new
- fix problem where it was not possible to force some values to 0 in
custom margins
- fix bug where horizontal alignment would be reset automatically to
"left" in the tabular dialog.
- fix functions word-find-forward and word-find-backward, which
meaning was inverted