From 1ef020f39c3e68dfce9c50083b07120fe717bdf9 Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Wed, 8 Nov 2023 11:23:20 +0100 Subject: [PATCH] Note about pictures smaller --- .../java/com/pi4j/boardinfoservice/views/BoardInfoView.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/pi4j/boardinfoservice/views/BoardInfoView.java b/src/main/java/com/pi4j/boardinfoservice/views/BoardInfoView.java index d517621..0640bb7 100644 --- a/src/main/java/com/pi4j/boardinfoservice/views/BoardInfoView.java +++ b/src/main/java/com/pi4j/boardinfoservice/views/BoardInfoView.java @@ -87,7 +87,10 @@ private void showBoard(BoardModel boardModel) { img.setMaxHeight(350, Unit.PIXELS); holder.add(img); - holder.add(new Paragraph("Pictures only as illustration, still searching for a complete list of good pictures...")); + var picturesNote = new Paragraph("Pictures only as illustration, still searching for a complete list of good pictures..."); + picturesNote.getStyle().set("font-style", "italic"); + picturesNote.getStyle().set("font-size", "0.8em"); + holder.add(picturesNote); holder.add(new H3("Board info"));