From d79b2b03d0b7fdc088e1eef05d8d12ebf1190b77 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 8 Jun 2013 16:52:33 +0000 Subject: (svn r25334) -Fix: Position the linkgraph legend window automatically like most windows. --- src/linkgraph/linkgraph_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linkgraph/linkgraph_gui.cpp b/src/linkgraph/linkgraph_gui.cpp index b69d18411..f272d287c 100644 --- a/src/linkgraph/linkgraph_gui.cpp +++ b/src/linkgraph/linkgraph_gui.cpp @@ -381,7 +381,7 @@ assert_compile(WID_LGL_SATURATION_LAST - WID_LGL_SATURATION_FIRST == 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) -- cgit v1.2.3-54-g00ecf