Remove scrollbar from Commit Message
Now that the commit message must be explicitly selected for display in the PatchScreen header, it makes sense to assume that they want to see the whole thing and are willing to vertical sacrifice some screen real estate to do that. Change-Id: I51466bbb90666f5b74d3b007b89d4cae7205330e
This commit is contained in:
@@ -26,20 +26,9 @@ public class CommitMessageBlock extends Composite {
|
||||
private final HTML description;
|
||||
|
||||
public CommitMessageBlock() {
|
||||
this(null);
|
||||
}
|
||||
|
||||
public CommitMessageBlock(String height) {
|
||||
description = new HTML();
|
||||
description.setStyleName(Gerrit.RESOURCES.css().changeScreenDescription());
|
||||
if (height != null) {
|
||||
ScrollPanel scrollPanel = new ScrollPanel();
|
||||
scrollPanel.setHeight(height);
|
||||
scrollPanel.add(description);
|
||||
initWidget(scrollPanel);
|
||||
} else {
|
||||
initWidget(description);
|
||||
}
|
||||
initWidget(description);
|
||||
}
|
||||
|
||||
public void display(final String commitMessage) {
|
||||
|
||||
Reference in New Issue
Block a user