Merge "Fix style sheets for expanded context lines"
This commit is contained in:
commit
68e49477c4
@ -34,6 +34,7 @@ import com.google.gwt.event.dom.client.ClickHandler;
|
||||
import com.google.gwt.user.client.ui.Anchor;
|
||||
import com.google.gwt.user.client.ui.FlowPanel;
|
||||
import com.google.gwt.user.client.ui.HTMLTable.CellFormatter;
|
||||
import com.google.gwt.user.client.ui.HasVerticalAlignment;
|
||||
import com.google.gwt.user.client.ui.InlineLabel;
|
||||
import com.google.gwtexpui.safehtml.client.SafeHtml;
|
||||
import com.google.gwtexpui.safehtml.client.SafeHtmlBuilder;
|
||||
@ -382,7 +383,11 @@ public class SideBySideTable extends AbstractPatchContentTable {
|
||||
|
||||
CellFormatter fmt = table.getCellFormatter();
|
||||
for (int i = 0 + offset; i < loopTo + offset; i++) {
|
||||
insertRow(row + i);
|
||||
// The overridden version of insertRow adds some css classes we don't
|
||||
// want.
|
||||
super.insertRow(row + i);
|
||||
table.getRowFormatter().setVerticalAlign(row + i,
|
||||
HasVerticalAlignment.ALIGN_TOP);
|
||||
int lineA = line.getStartA() + i;
|
||||
int lineB = line.getStartB() + i;
|
||||
if (numRows < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user