Browse Source

Prevent ModuleBrowser module list from scrolling horizontally.

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
705dfab685
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/app/ModuleBrowser.cpp

+ 1
- 0
src/app/ModuleBrowser.cpp View File

@@ -456,6 +456,7 @@ struct ModuleBrowser : widget::OpaqueWidget {


modelLabel = new ui::Label; modelLabel = new ui::Label;
// modelLabel->fontSize = 16; // modelLabel->fontSize = 16;
modelLabel->box.size.x = 200;
modelLabel->box.pos = math::Vec(10, 10); modelLabel->box.pos = math::Vec(10, 10);
modelScroll->container->addChild(modelLabel); modelScroll->container->addChild(modelLabel);




Loading…
Cancel
Save