Widgets in Toolbar Display

4278
5
05-28-2015 11:26 AM
ChristopherHolewinski1
New Contributor III

I was wondering, is there a plan to make the widgets that are located in the toolbar re-sizable and movable?  I'm trying to make a viewer similar to the flexviewer we have, but I can't have the widgets taking up as much room as they do.  I read that it's due to the configuration of the theme.  For now I have moved them onto the map, which makes them re-sizable and movable, but it's not ideal.  Can anyone tell me if there is a plan to change the theme so that it is possible?  Or if not, is there a way for me to do it manually?

Thanks,

Chris

Tags (2)
0 Kudos
5 Replies
RickeyFight
MVP Regular Contributor

Yes it is possible.

What I did was:

Put this in widgets/About/style.css

#about_panel{
height: 250px !important;
}

This has to be done for each widget individually.

StanMcShinsky
Occasional Contributor III

Also don't forget to change the id of the widget in the main config.json file to something with out slashes

see here Widget in Panel Height

-Stan

ChristopherHolewinski1
New Contributor III

Thank you very much!  This is exactly what I was looking to do.

Chris

0 Kudos
FlorianCADOZ
Occasional Contributor

It doesn't say how to make in-toolbar widget being re-sizable and movable, but juste how to re-size them by modifying the CSS... Or I missed something ?

0 Kudos
JunshanLiu
Occasional Contributor III

We'll add more themes in next release. I think maybe one of them is what you need.