summaryrefslogtreecommitdiff
path: root/dgl/NanoVG.hpp
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2014-05-27 13:51:48 +0100
committerfalkTX <falktx@gmail.com>2014-05-27 13:51:48 +0100
commit7936e6f1d08165407c1e1c2a6560f5cb278c3b5e (patch)
tree30e387204c508487cfbb62d1872a8e7a3bb6e5c4 /dgl/NanoVG.hpp
parentedf7cebc93c6172d45111deb7e52b5df44652ba5 (diff)
Fixes for widget bounds (plus NanoVG)
Diffstat (limited to 'dgl/NanoVG.hpp')
-rw-r--r--dgl/NanoVG.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/dgl/NanoVG.hpp b/dgl/NanoVG.hpp
index f3b1b1de..ad6d6708 100644
--- a/dgl/NanoVG.hpp
+++ b/dgl/NanoVG.hpp
@@ -794,7 +794,10 @@ public:
*/
NanoWidget(Window& parent)
: Widget(parent),
- NanoVG() {}
+ NanoVG()
+ {
+ setNeedsScaling(true);
+ }
protected:
/**