I have a TextArea that spans the full width of my screen:I've selected "center" alignment:However, when I dynamically set the text at runtime, Unicode::fromUTF8(merchant_name_data, merchant_nameBuffer, MERCHANT_NAME_SIZE);
merchant_name.resiz...
I can see from logging that my Presenter's #activate is called after the screen's #setupScreen. This seems wrong. The screen depends on the presenter. There should be an opportunity for the presenter to initialize itself before the screen uses it.Am ...
Hello, we are finding it necessary to modify generated files. We have a few different cases, but just taking the first example, we had to change generated/OSWrappers.cpp as the variant of FreeRTOS we're using has slightly different function names.Is ...
Fresh Windows 11 install, fresh TouchGFX install. Started up fine, until I tried to open one of the sample projects. Now the tool won't start at all, and I just get a dialog "Failed to load native freetype library / Could not open file".I did find: h...
@Pavel A. wrote:Ah so it is gdb. I thought it is the cube programmer CLI. Then removing this dependency isn't trivial - but still not a rocket science.Sort of.It's the gdb version that's included in the STM32CubeIDE bundled plugin. The plugin package...
Okay, maybe I'm getting it. This is what I do now:Screen starts, ::setupScreen is called.In setupScreen, the string is retrieved from the presenter, which gets it from the model.Screen sets the string in a text area.What you're suggesting, I think:in...
@Mohammad MORADI ESFAHANIASL wrote:If you look at the generated code for your ScreenPresenter.hpp, you will see that the constructor takes a reference to the corresponding screen as an argument. Hence, it means the presenter depends on the screen.Let...
@j o wrote:I know that's the order of execution, but as I said in my email, why is the presenter being activated *after* the screen is being setup? It needs the data that isn't yet activated in the presenter. If "activate" isn't supposed to setup dat...