# HG changeset patch # User frosch # Date 2013-06-08 16:52:33 # Node ID bac1d1987064b2a60800fd06f27b6935978c066f # Parent 768f50590415d6317805d7d62a49ad05bce5fc7e (svn r25334) -Fix: Position the linkgraph legend window automatically like most windows. diff --git a/src/linkgraph/linkgraph_gui.cpp b/src/linkgraph/linkgraph_gui.cpp --- a/src/linkgraph/linkgraph_gui.cpp +++ b/src/linkgraph/linkgraph_gui.cpp @@ -381,7 +381,7 @@ assert_compile(WID_LGL_SATURATION_LAST - lengthof(LinkGraphOverlay::LINK_COLOURS) - 1); static WindowDesc _linkgraph_legend_desc( - WDP_MANUAL, "toolbar_linkgraph", 300, 314, + WDP_AUTO, "toolbar_linkgraph", 0, 0, WC_LINKGRAPH_LEGEND, WC_NONE, 0, _nested_linkgraph_legend_widgets, lengthof(_nested_linkgraph_legend_widgets)