This commit is contained in:
2025-05-04 02:36:52 -05:00
parent 94e3a28332
commit d93e6b6b90

View File

@@ -254,10 +254,10 @@ public:
mandelbrotset_dialog->Position({20_px, 300_px});
auto* mandelbrotset_layout = new JUI::VerticalListLayout(mandelbrotset_dialog->ViewportInstance());
mandelbrotset_layout->LayoutOrder(JUI::LayoutOrder::V::BOTTOM);
mandelbrotset_layout->LayoutOrder(JUI::LayoutOrder::V::TOP);
int idx = 0;
int idx = 999;
auto mb_line_item = [&] (const std::string& text, int size = 20, const Color4& color = Colors::White) {
@@ -268,7 +268,7 @@ public:
content->SetTextColor(color);
content->BGColor(Colors::Transparent);
content->AlignCenterHorizontally();
content->LayoutOrder(idx++);
content->LayoutOrder(idx--);
};
mb_line_item("The Mandelbrot Set");