Howto:Creating a Canvas GUI Widget: Difference between revisions

Jump to navigation Jump to search
Line 214: Line 214:
To approximate the appearance of the legacy [[Map]] dialog, we will be using a hbox layout with two columns, with the left column containing a vbox layout with checkboxes added for each layer to control visibility of the layer, and the right hbox cell containing the actual MapStructure map:
To approximate the appearance of the legacy [[Map]] dialog, we will be using a hbox layout with two columns, with the left column containing a vbox layout with checkboxes added for each layer to control visibility of the layer, and the right hbox cell containing the actual MapStructure map:


Once we are finished, we can check if the widget is working properly by adding a handful of identical widgets to the same dialog, all of which should work independently.
Once we are finished, we can check if the widget is working properly by adding a handful of identical widgets to the same dialog, all of which should work independently, i.e. having their own checkbox/range widgets to control the corresponding map widget.


== References ==
== References ==

Navigation menu