mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 10:56:00 +00:00
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:
parent
fd5bd83eaf
commit
7e552c30c1
@ -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>
|
2002-12-18 Juergen Spitzmueller <j.spitzmueller@gmx.de>
|
||||||
|
|
||||||
* xforms_helpers.C: (updateWidgetsFromLength)
|
* xforms_helpers.C: (updateWidgetsFromLength)
|
||||||
|
@ -232,12 +232,16 @@ void FormTabular::update()
|
|||||||
}
|
}
|
||||||
pwidth = tabular->GetMColumnPWidth(cell);
|
pwidth = tabular->GetMColumnPWidth(cell);
|
||||||
align = tabular->GetAlignment(cell);
|
align = tabular->GetAlignment(cell);
|
||||||
if (!pwidth.zero() || (align == LYX_ALIGN_LEFT))
|
// set the horiz. alignment, default is left here
|
||||||
fl_set_button(cell_options_->radio_align_left, 1);
|
fl_set_button(cell_options_->radio_align_left, 0);
|
||||||
else if (align == LYX_ALIGN_RIGHT)
|
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);
|
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);
|
fl_set_button(cell_options_->radio_align_center, 1);
|
||||||
|
else
|
||||||
|
fl_set_button(cell_options_->radio_align_left, 1);
|
||||||
|
|
||||||
align = tabular->GetVAlignment(cell);
|
align = tabular->GetVAlignment(cell);
|
||||||
fl_set_button(cell_options_->radio_valign_top, 0);
|
fl_set_button(cell_options_->radio_valign_top, 0);
|
||||||
|
@ -29,6 +29,9 @@ What's new
|
|||||||
- fix problem where it was not possible to force some values to 0 in
|
- fix problem where it was not possible to force some values to 0 in
|
||||||
custom margins
|
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
|
- fix functions word-find-forward and word-find-backward, which
|
||||||
meaning was inverted
|
meaning was inverted
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user