0

In the specification config.xml of a wirecloud widget, we can set initial width and height

<Platform.Rendering width="x" height="y"/>

When I put in something like width 300 and height = 80, the widget gets much bigger and overflows the screen. In the specification I only see that the width field defines the width.

http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE.OpenSpecification.Apps.ApplicationMashup

I see in example widgets values like 5 and 8. So what unit is the width and height?

Meier
  • 3,858
  • 1
  • 17
  • 46
  • When I add px as units, I get the error when uploading "Error adding packaged resource: Internal Server Error." – Meier Oct 16 '14 at 12:21

2 Answers2

1

If you check your workspace settings, you will see that you may set your workspace grid up by determining the number of columns and rows you want it to use.

I think these numbers refer to the workspace grid columns/rows.

Artem
  • 96
  • 6
1

WireCloud prior to 0.8.0 only supports columns and row as units. Pixels and percentages are supported from WireCloud 0.8.0 onwards.

See the documentation for more info.

Álvaro Arranz
  • 2,015
  • 1
  • 13
  • 22