This is the continuation of: #281967: Proposal for an improved UI
The attached patches make UI extend to popup full space.

Comments

bartezz’s picture

Nice, will try it out next week...

Thanx

jrosen’s picture

StatusFileSize
new1.09 KB

I updated your patch to expand the height of the image preview box at the bottom.

jrosen’s picture

Also found that need to modify imce-content.css to change:

#dir-stat {
  position: absolute;
  z-index: 1;
  bottom: 0;
  padding: 2px 5px;
  background-color: #e9ecef;
}

To:

#dir-stat {
  position: absolute;
  z-index: 1;
  bottom: 0;
  padding: 2px 5px;
  background-color: #e9ecef;
  width: 100%;
}
anrikun’s picture

It was supposed to expand to bottom already:
imce-content.tpl_.php_.patch removes bottom resizebar
Didn't it work without your changes?

jrosen’s picture

The calculation you had in imce-extras.js_.patch was a bit off.

I changed:

$('#preview-wrapper').height($('body').height() - $('#imce-content').height() + $('#preview-wrapper').height());

Your calculation determined the current size of the bottom preview area.

My new version:

$('#preview-wrapper').height($('body').height() - $('#resizable-content').height() + $('#preview-wrapper').height());

This way it calculates the unused portion at the bottom and makes the preview area fill the entire remaining space.

My modification to imce-content.css was to expand the little blue bar that tells you your Quota to take up the entire width below the folder contents pane.

I found that applying your patches and then my additional changes, that the File Browser now takes up the entire area and works great! I even added a new Menu Item in my Admin area to display it using Lightbox2 so it displays in a lightbox pop-up and it even fills the entire height and width that way too!

ufku’s picture

Version: 6.x-2.0-beta1 » 6.x-2.x-dev
Status: Needs review » Fixed

Thank you for the patches and ideas. I've just committed an auto-resize implementation to 2.x-dev branch.

anrikun’s picture

Great!
Any date for a final release?

ufku’s picture

No specific date. A RC may come before the final.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.