From 57caf0ebee954ea8c235a408d9b37db5d72e4160 Mon Sep 17 00:00:00 2001 From: AbdelwahabAdam Date: Mon, 28 Nov 2022 08:52:12 -0800 Subject: [PATCH] fix:jans-cli remove un-used scrollbar (ref: #3070 #3041) --- jans-cli-tui/cli_tui/plugins/070_users/edit_user_dialog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jans-cli-tui/cli_tui/plugins/070_users/edit_user_dialog.py b/jans-cli-tui/cli_tui/plugins/070_users/edit_user_dialog.py index 87ab35061c4..d63cca5394f 100644 --- a/jans-cli-tui/cli_tui/plugins/070_users/edit_user_dialog.py +++ b/jans-cli-tui/cli_tui/plugins/070_users/edit_user_dialog.py @@ -170,7 +170,7 @@ def get_custom_attribute(attribute, multi=False): self.app.getTitledCheckBox(_(claim_prop['displayName']), name=ca['name'], checked=checked, style='class:script-checkbox', jans_help=self.app.get_help_from_schema(self.schema, ca['name'])) ) - self.edit_user_container = ScrollablePane(content=HSplit(self.edit_user_content, width=D()),) + self.edit_user_container = ScrollablePane(content=HSplit(self.edit_user_content, width=D()),show_scrollbar=False) @@ -251,7 +251,7 @@ def add_claim(dialog) -> None: else: widget = self.app.getTitledText(_(display_name), name=claim_, value='', style='class:script-titledtext', jans_help=self.app.get_help_from_schema(self.schema, claim_)) self.edit_user_content.insert(-1, widget) - self.edit_user_container = ScrollablePane(content=HSplit(self.edit_user_content, width=D()),) + self.edit_user_container = ScrollablePane(content=HSplit(self.edit_user_content, width=D()),show_scrollbar=False) body = HSplit([Label(_("Select claim to be added to current user.")), claims_checkbox])