Skip to content

Commit

Permalink
tooltip moved to bottom (MID-7503)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2548fcf)
  • Loading branch information
katkav committed Jan 19, 2022
1 parent a29daa2 commit 519e62d
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ protected void customInitLayout(WebMarkupContainer parentInfoBox, IModel<Activit
Label errorMessage = new Label(ID_ERROR_MESSAGE, new PropertyModel<>(model, ActivityInfoBoxDto.F_ERROR_MESSAGE));
parentInfoBox.add(errorMessage);
errorMessage.add(AttributeAppender.append("title", new PropertyModel<>(model, ActivityInfoBoxDto.F_ERROR_MESSAGE)));
errorMessage.add(new TooltipBehavior());
errorMessage.add(new TooltipBehavior() {
@Override
public String getDataPlacement() {
return "bottom";
}
});


if (linkPage != null) {
Expand Down

0 comments on commit 519e62d

Please sign in to comment.