Jump to content

How to expand admin widget with css


zitu4life

Recommended Posts

Hello there

I am trying  to   re-sizing   admin widget, but do no realize how to  do that . For example Lara addon expand it   just clicking   on it, but it  only expand it on horizontal, and an want to expand  also on vertical.

I intend to expand Project management widget   on vertical to show   more projects in progress  at once. Currently it is limited to 5 by default, but  I truly believe it is possible to be   managed  size with a css, considering that   Lara   can expand it on horizontal.

Idea is  to have  all current   project displayed   on screen and not just five.

image.thumb.png.6dbe33e5a9a75967a7a5dc8f53e58838.png

What css code should I use?

Thank you!

Link to comment
Share on other sites

11 hours ago, zitu4life said:

I intend to expand Project management widget   on vertical to show   more projects in progress  at once.

possibly you could give it's div a min height, but whether that would disrupt the layout of the other widgets (e.g overlapping), I don't know... not currently using v7.9 or PM.

11 hours ago, zitu4life said:

Currently it is limited to 5 by default,

if memory serves, the PM widget is encrypted and you can't get near the widget code - so directly modifying the content is not a simple option.

unless it's changed in v7.9, that widget always used to look quite dated, e.g it was based on v6 widget coding.

11 hours ago, zitu4life said:

but  I truly believe it is possible to be   managed  size with a css, considering that   Lara   can expand it on horizontal. 

expanding it's width horizontally dynamically is a feature of Lara - you wouldn't be able to do that if using Blend or v4.

11 hours ago, zitu4life said:

Idea is  to have  all current   project displayed   on screen and not just five.

if it can't be fixed with css, you could always create your own widget - that would at least be based on the modern code and could show as many results as you wished, in a layout of your choice.

Link to comment
Share on other sites

On 1/11/2020 at 11:28 AM, brian! said:

if it can't be fixed with css, you could always create your own widget - that would at least be based on the modern code and could show as many results as you wished, in a layout of your choice.

Developing new widget   will work with existing   project management, I mean it will be linked to project management to display projects too? 

Link to comment
Share on other sites

2 hours ago, zitu4life said:

Developing new widget   will work with existing   project management, I mean it will be linked to project management to display projects too? 

I don't see why not - the existing widget will just be querying the project management database tables, the same as any other widget does.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated