Skip to content

Commit

Permalink
fix:jans-cli remove un-used scrollbar (ref: #3070 #3041)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelwahabAdam committed Nov 28, 2022
1 parent 43d1d3f commit 57caf0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jans-cli-tui/cli_tui/plugins/070_users/edit_user_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)



Expand Down Expand Up @@ -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])
Expand Down

0 comments on commit 57caf0e

Please sign in to comment.