From 2940c47b2d3386422284c60a5d6189f15baad199 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Wed, 20 Sep 2023 16:20:35 +0100 Subject: [PATCH] align center and 150px --- jhub_apps/launcher/panel_app.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/jhub_apps/launcher/panel_app.py b/jhub_apps/launcher/panel_app.py index 0d003c26..f5c6eb66 100644 --- a/jhub_apps/launcher/panel_app.py +++ b/jhub_apps/launcher/panel_app.py @@ -93,7 +93,15 @@ def __init__(self, app: App, **params): ) ) self.content = pn.Column( - pn.pane.Image(self.app.thumbnail or self.app.logo, link_url=self.app.url, width=100, height=100), + pn.Row( + pn.Spacer(width=50), + pn.pane.Image( + self.app.thumbnail or self.app.logo, link_url=self.app.url, width=150, height=150, + ), + pn.Spacer(width=50), + sizing_mode="stretch_width", + align="center" + ), pn.pane.Markdown( f""" ## {self.app.name}