简体   繁体   中英

How can I set a widget's panel to open on the left side of the screen for applications made in Web AppBuilder for ArcGIS?

I'm using Web AppBuilder for ArcGIS to create custom web applications. I'm using a theme that allows me to place the icon for a widget in a certain slot on the left or right side of the application, but regardless of where the icon for a widget is located, in-panel widgets are all opening on the right side my application.

Can someone help me to anchor certain widget panels to the left side of the screen? I can make direct source code configuration changes if necessary, but I'm not sure what change to make for this desired behavior.

Which Web AppBuilder theme are you using? Assuming the Foldable theme, you can add a CSS rule like this:

.jimu-panel.jimu-foldable-dijit.jimu-foldable-panel {
    inset: 5px auto 5px 5px !important;
}

打开小部件的 web appbuilder

That will make the hovering widget move to the left. Is this what you were aiming for?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM