Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow search panel scroll bars on small displays #702

Merged
merged 1 commit into from
Nov 8, 2018

Conversation

jpwhite4
Copy link
Member

The job viewer search panel is hardcoded to ~1000 x 600 px and cannot be resized and scrollbars are disabled. It gets aligned to the top left so is unusable on a screen that is shorter than ~600px since the buttons at the bottom are not displayed.

This change makes it so that the panel window will show scrollbars if necessary so that the ui component is usable on small displays.

@@ -65,6 +65,7 @@ XDMoD.Module.JobViewer.SearchPanel = Ext.extend(Ext.Panel, {
Ext.apply(this, {
layout: 'table',
width: 1000,
autoScroll: true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation looks odd here, but I'm guessing this is the correct indentation and everything else is wrong.

@jpwhite4 jpwhite4 added this to the 8.1.0 milestone Oct 15, 2018
@jpwhite4 jpwhite4 changed the base branch from xdmod8.0 to xdmod8.1 November 8, 2018 20:34
@jpwhite4 jpwhite4 merged commit d98fe3d into ubccr:xdmod8.1 Nov 8, 2018
@jpwhite4 jpwhite4 deleted the resize_searchpanel branch November 8, 2018 20:34
@jpwhite4 jpwhite4 added the bug Bugfixes label Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants