On Thursday, November 8, 2018 at 8:35:30 AM UTC-6, rengel wrote: Thanks for sharing! >
You're welcome. How did you run LeoMainWindow, in the browser - app.launch('browser') - or > as a desktop app - app.launch('app')? > >From a console I ran a .bat file containing just: python <path to leo-editor>leo\plugins\leoflexx.py --flexx-webruntime= browser The top-level of leoflexx.py is now just: import leo.core.leoBridge as leoBridge from flexx import flx @others if __name__ == '__main__': flx.launch(LeoApp, runtime='firefox-browser') print('After flx.launch') flx.run() On my machine this opens mozilla. did you set some window parameters using a CSS stylesheet? > All the .css is in leoflexx.py. In particular, the body page uses ace, whose startup code contains: self.ace.setTheme("ace/theme/solarized_dark") I couldn't figure out how to set the parameters of the main window. > [snip] > Both the CSS and the inline style honor the color settings, but not the > with and height settings. > My guess is that the VBox() and HBox() layouts override the width and height settings. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.