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

From FlightGear wiki
Jump to navigation Jump to search
m (→‎XML Markup: https://sourceforge.net/p/flightgear/mailman/message/36149876/)
Line 1: Line 1:
{{Stub}}
{{Stub}}


== 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.<ref>https://sourceforge.net/p/flightgear/mailman/message/36149876/</ref>


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

Revision as of 18:48, 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]

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

Related

References