mstrens / PyQt

0 stars 0 forks source link

Minor typo and some layout 'improvements'. #2

Open KeesBlokland opened 3 months ago

KeesBlokland commented 3 months ago

First time I am playing with QT, be warned!

In the voltages/current tab, the selectable values for Volt 3 are: 26,27,27,29. Probably needs to be 26,27,28,29 On my screen (Ubuntu) some textboxes were too narrow, increased some to display text properly. (changed from 100 > 125.)

Changing the oXs.ui file made it all good for me.

oXs.ui.txt (rename back to oXs.ui and drop into the original directory. )

mstrens commented 3 months ago

For Volt3 there was indeed a mistake. It should be 26,27,28,29.

I already made some changes the ui using QT designer. So I can't just reuse you modified ui file. Do you remember the boxes that had to be increased? Then I can do it directly in Qt designer without loosing the latest changes.

KeesBlokland commented 3 months ago

Pictures are probably easier in this case:

image image image image image

KeesBlokland commented 3 months ago

Thinking about this, it could of course simply be that the fonts I use are different, ie, QT (the app) uses whatever it finds in the system. There probably is a way to globally set or force font sizes for an application. In short, me saying ‘sizes are wrong for me’ it is more likely ‘my system uses a different font/type and that makes it look different from what windows system would look like.

kees

mstrens commented 3 months ago

It is indeed probably related to the font. In the new version I am preparing, I changed the font to Time new roman which quite common. I hope it will fix this issue.