Howto:Creating a custom waypointlist pendant using Canvas: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
Line 6: Line 6:
can't get the entire list of SIDS or STARs displayed when there are too
can't get the entire list of SIDS or STARs displayed when there are too
many.<ref>https://sourceforge.net/p/flightgear/mailman/message/36149876/</ref>
many.<ref>https://sourceforge.net/p/flightgear/mailman/message/36149876/</ref>
[[File:Routemanager.jpg|thumb|270px|The route manager dialog.]]


== XML Markup ==
== XML Markup ==

Revision as of 18:49, 7 December 2017

This article is a stub. You can help the wiki by expanding it.


Background

The issue is that even on the larger screens, you can't get the entire list of SIDS or STARs displayed when there are too many.[1]


The route manager dialog.

XML Markup

https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/gui/dialogs/route-manager.xml#l596

        <waypointlist>
            <name>list</name>
            <halign>fill</halign>
            <valign>fill</valign>
            <stretch>true</stretch>
            <pref-height>150</pref-height>
            <property>/sim/gui/dialogs/route-manager/selection</property>
            <binding>
                <command>dialog-apply</command>
                <object-name>list</object-name>
            </binding>
        </waypointlist>

Dialog Builder

https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/GUI/FGPUIDialog.cxx#l1051

C++ Widget Code

https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/GUI/WaypointList.cxx

Nasal APIs

Related

References