The whole UI layout moves a bit when "Working..." appears

Issue #8 new
Isaiah Odhner created an issue

The whole UI layout shifts slightly when the "Working..." indicator appears, which happens any time you select a node.

Comments (7)

  1. Lionel Barret repo owner

    I have no repro on my end. Could you send me your project ? ( zip the whole folder )

  2. Lionel Barret repo owner

    I think I found the root cause : the font size in some part of the UI is dependent on the screen size. So when using rectitude on some 24” monitor, the working notification is too tall and push the whole UI layout. It doesnt happen on my screen ( 32” ) because in this case, the font size is ok.

  3. Isaiah Odhner reporter

    Ah, that makes sense. Do you have a way to fix the working notification area to a specific height?

  4. Lionel Barret repo owner

    This one is a bit trickier than expected. I tested on 2 different PCs with 24” screen and the bug is not there. It is probably something dependent on the machine, maybe the font ?

    Part of the UI uses MS Shell Dlg and according to the doc, Because the font generated using MS Shell Dlg is different on different versions of Windows, you should check that the dialog box looks good on all versions. It might be that. @Isaiah Odhner do you have a non-english locale ?

  5. Isaiah Odhner reporter

    No, just English. The way I would do this is just explicitly bump up the font size if possible / make the text multiline / otherwise taller for testing, and then make the container be a fixed size and clip overflow, assuming there’s an option for that in the framework you’re using. If it works to cut off significantly bigger text it should be fine for the normal case, assuming the font size doesn’t vary too much.

    Alternatively, you could do it where the two states both exist on top of each other, and just toggle opacity of each. Again, I have no idea what options you have available with the GUI framework you’re using, but that’s two suggestions.

  6. Log in to comment