Jump to content
zitu4life

How to expand admin widget with css

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!

Share this post


Link to post
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.

Share this post


Link to post
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? 

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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