* A dropdown related bug fix 4.x-dev

Mon, 08 Nov 2021 06:22:16 +0200

author
cemkalyoncu
date
Mon, 08 Nov 2021 06:22:16 +0200
branch
4.x-dev
changeset 1762
c4c7fae673b8
parent 1761
590f2c163684
child 1763
8f288778ac0e

* A dropdown related bug fix

Source/Gorgon/Widgets/Dropdown.h file | annotate | diff | comparison | revisions
--- a/Source/Gorgon/Widgets/Dropdown.h	Sat Nov 06 07:00:26 2021 +0200
+++ b/Source/Gorgon/Widgets/Dropdown.h	Mon Nov 08 06:22:16 2021 +0200
@@ -125,7 +125,7 @@
                 list.Move(Pixels(res.CoordinatesInExtender.X, res.CoordinatesInExtender.Y + GetCurrentHeight()));
             }
             
-            list.SetWidth(GetWidth());
+            list.SetWidth(Pixels(GetCurrentWidth()));
             list.SetFloating(true);
             res.Extender->Add(list);
             

mercurial