mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
Fix text alignment - wasn't resetting the default alignment after
closing a table cell... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1287,6 +1287,7 @@ Fl_Help_View::format()
|
||||
strcasecmp(buf, "TABLE") == 0)
|
||||
{
|
||||
block->end = start;
|
||||
newalign = strcasecmp(buf, "CENTER") ? LEFT : CENTER;
|
||||
line = do_align(block, line, xx, newalign, links);
|
||||
xx = block->x;
|
||||
block->h += hh;
|
||||
@@ -1496,6 +1497,7 @@ Fl_Help_View::format()
|
||||
line = do_align(block, line, xx, newalign, links);
|
||||
block->end = start;
|
||||
block->h += hh;
|
||||
talign = LEFT;
|
||||
|
||||
xx = blocks_[row].x;
|
||||
|
||||
@@ -1578,6 +1580,7 @@ Fl_Help_View::format()
|
||||
strcasecmp(buf, "/TH") == 0) && row)
|
||||
{
|
||||
popfont(font, fsize);
|
||||
talign = LEFT;
|
||||
}
|
||||
else if (strcasecmp(buf, "FONT") == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user