News:

Looking for documentation? Take a look on our wiki

Main Menu

Backend Product Table Width

Started by ncde, July 15, 2015, 16:41:06 PM

Previous topic - Next topic

ncde

Hi,

The table with all the different products listed in the backend seems much to wide and breaks the whole layout.
This effect is forced by too much width of the column "Media File". Somehow (since a change in Revision 8551) the width for images set within the settings is set as min-width for this column. This results for me in at least a min-width of 700px (my default width set for any images), breaking the layout.

I think that setting the min-width depending on the width of my thumbnails / images is not useful as there is never any preview shown in the column.
Perhaps this could be changed/removed or at least limited to any useful values.

Please see the changes: http://dev.virtuemart.net/projects/virtuemart/repository/revisions/8551/diff/trunk/virtuemart/administrator/components/com_virtuemart/views/product/tmpl/default.php

Best regards

Milbo

The min width is set to the size of the media. You may use another treshold in the config, then you dont have media in the list
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ncde

Thanks for your reply.

If I need a width of e. g. 700px for dynamically resized thumbnails in the frontend I cannot simply change that value to gain proper table width within the backend.
Why should there be any min-width connected to the image size if there is only a simple icon and the number of media files provided in this column -- and never a preview width this width?

I just want to avoid any non-persistent changes to my installation. If you need larger thumbnail size due to retina support etc. this should be changed.

Milbo

Now I get it .... it does not take the treshold in consideration. Just set your pagination to a lower value and you will see images.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ncde

I have attached a screenshot with the corrected threshold (displaying thumbnails) to demonstrate the initial problem.

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/