|
POST
|
Thank you Robert. Actually, I am using the dijit/layout/TabContainer. <div data-dojo-type="dijit/layout/TabContainer" style="width: 600px; height: 700px;" tabStrip="true"> <div data-dojo-type="dijit/layout/ContentPane" title="General Environmental" data-dojo-props="selected:true"> ----- ------
... View more
02-28-2017
01:41 PM
|
0
|
3
|
2183
|
|
POST
|
I can't see which of the css makes the splash screen center. Can you point it out? Thanks.
... View more
02-27-2017
02:18 PM
|
0
|
1
|
1539
|
|
POST
|
I use the tabcontainer to create tabbed panel, however the visual needs improvement. Are any other options for css in the Web appbuilber or do we need to import other stylesheets. Thank you.
... View more
02-27-2017
01:47 PM
|
0
|
10
|
2947
|
|
POST
|
That bring me back to the original question when I posted this question. The script I used in the startup function did not alter the postion of the widget. What am I missing? Thanks.
... View more
02-27-2017
09:49 AM
|
0
|
2
|
2889
|
|
POST
|
Perhaps in the postCreate function, I could redefine the widget position? After the widget is created, can we redefined the postion?
... View more
02-27-2017
09:20 AM
|
0
|
4
|
2889
|
|
POST
|
No. Here is how the GetInfo widget is defined in the config.json: "widgetOnScreen": { "widgets": [ { "uri": "themes/LaunchpadTheme/widgets/AnchorBarController/Widget", "position": { "bottom": 10, "height": 40, "relativeTo": "map", "zIndex": 0 }, "version": "2.3", "id": "themes_LaunchpadTheme_widgets_AnchorBarController_Widget_19", "name": "AnchorBarController" }, { "uri": "themes/LaunchpadTheme/widgets/Header/Widget", "position": { "left": 15, "top": 17, "width": 670, "height": 46, "relativeTo": "map" }, "version": "2.3", "id": "themes_LaunchpadTheme_widgets_Header_Widget_20", "name": "Header" }, { "uri": "widgets/GetInfo/Widget", "config": "configs/GetInfo/config_GetInfo.json", "id": "widgets_GetInfo_Widget_36", "IsController": false, "name": "GetInfo", "version": "1.3.1", "label": "Get Info", "openAtStart": true }, Thank youl.
... View more
02-27-2017
09:04 AM
|
0
|
6
|
2889
|
|
POST
|
This is a custom on-screen widget. I don't know if it matters since it is not in the header, but fyi I am using the launchpad theme. Thank you.
... View more
02-27-2017
08:43 AM
|
0
|
8
|
2889
|
|
POST
|
I use the _setDesktopPosition function used in the OnScreenWidget.js in my custom widget.js to set the position of a panel at start up but it ignores it. Ideas? startup: function () { html.place(this.domNode, jimuConfig.mapId); html.setStyle(this.domNode, { left: 100 + 'px', right: 'auto', top: 100 + 'px', // width: (position.width || this.position.width || this._originalBox.w) + 'px', // height: (position.height || this.position.height || this._originalBox.h) + 'px' }); --- ------- --------- }, thank you.
... View more
02-24-2017
11:24 AM
|
0
|
12
|
6061
|
|
POST
|
I have an on-screen widget that starts up with the application and I'd like to center at the user's screen. Suggestions? Thank you.
... View more
02-22-2017
03:05 PM
|
0
|
4
|
2489
|
|
POST
|
I am using v. 2.3. I am trying to modify the AddLayer Widget widget so it includes only layers that meet certain criteria. like below. If you use layers: this.config.layer it works but it captures all layers. array.forEach(this.config.layers, function (layer) { layer.isSelected = false; if (layer.name === "climate"){ this.layerListView = new LayerListView({ layers: this.config.layer[0] }).placeAt(this.layerListBody); } }, this); Thanks.
... View more
02-15-2017
09:15 AM
|
0
|
2
|
1308
|
|
POST
|
I am trying to modify the script below to capture only a specific layer from the config file, let's the first one (index:0). So instead of: this.layerListView = new LayerListView({ layers: this.config.layers }).placeAt(this.layerListBody); I use this.layerListView = new LayerListView({ layers: this.config.layers[0] }).placeAt(this.layerListBody); But the "layers" does not store anything. The first one will store all layers. Suggestions? Thank you.
... View more
02-15-2017
08:46 AM
|
0
|
4
|
1818
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-09-2026 12:44 PM | |
| 1 | 06-08-2026 12:12 PM | |
| 1 | 06-19-2025 10:13 PM | |
| 3 | 02-06-2026 10:44 AM | |
| 1 | 01-08-2026 12:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|