Search found 44 matches

by xabre
Thu Dec 26, 2019 10:08 pm
Forum: Help Forum
Topic: Handling Windows display scaling
Replies: 8
Views: 343

Re: Handling Windows display scaling

Actually, you can go to the source of the problem, and instead of reading varibles and hoping the exist, or taking guesses based on screen resolution, I bet that PowerShell offers some kind of a way to read pixel density of the screen (dots/pixels per inch) which would give you far more representati...
by xabre
Thu Dec 26, 2019 8:53 pm
Forum: Help Forum
Topic: Handling Windows display scaling
Replies: 8
Views: 343

Re: Handling Windows display scaling

That would be the tricky part, as I'm not sure how Qt settings reading works on Windows.(On Linux it's as simple as reading the QT_SCREEN_SCALE_FACTORS variable via os.execute function in Mudlet, but as said, am not able to test and poke what works on Windows) I assume (and this is just a thought wh...
by xabre
Thu Dec 19, 2019 1:17 pm
Forum: Help Forum
Topic: Handling Windows display scaling
Replies: 8
Views: 343

Re: Handling Windows display scaling

Let me try to explain to you a bit further. You set the scaling for GUI elements to 120% in Windows, but in your script you set exctly the same font size for both cases (with and without scaling). The dimensions of your gui element are 60x32px in both cases (with or without scaling) Isn't it logical...
by xabre
Thu Dec 19, 2019 11:08 am
Forum: Help Forum
Topic: Handling Windows display scaling
Replies: 8
Views: 343

Re: Handling Windows display scaling

So, you're saying "I don't want to change the way Mudlet UI is rendered, I just want to change the way that Mudlet UI is rendered"? Have to distinguish few things here: 1. Client, its window and elements, which would be Mudlet. It supports scaling by using runtime switches, as documented on the link...
by xabre
Wed Dec 18, 2019 2:57 pm
Forum: Help Forum
Topic: Handling Windows display scaling
Replies: 8
Views: 343

Re: Handling Windows display scaling

you have: setFontSize(16). Which means 16px. Which is why your label uses 16px font in both cases. If you don't want Mudlet's gui to scale at all, Mudlet is built using Qt tolkit, so disabling (or tweaking) scaling in Qt will directly affect Mudlet. More info here: https://www.qt.io/blog/2016/01/26/...
by xabre
Sun Jul 15, 2018 12:13 pm
Forum: General Forum
Topic: Why does LUA suck
Replies: 7
Views: 26254

Re: Why does LUA suck

Compared to what? I find Lua to be as easy or easier than other programming languages. Even though it seems hard at first, I find Mudlet to be much easier for writing and using scripts compared to other MUD clients. At least properly documented (with a lot of examples) plus a decently sized community.
by xabre
Tue Aug 08, 2017 4:47 pm
Forum: General Forum
Topic: Mudlet 3.4 - various improvements
Replies: 17
Views: 25297

Re: Mudlet 3.4 - various improvements

Thanks again.
P.S.sha256 on download page should be updated, though. ( 67a8fe099d13cfd242edd2df17ff42409541a48e465239e7938739ab0bc791ac )
Yes, I love nitpicking like that. :P
by xabre
Tue Aug 08, 2017 11:57 am
Forum: General Forum
Topic: Mudlet 3.4 - various improvements
Replies: 17
Views: 25297

Re: Mudlet 3.4 - various improvements

Thanks.
by xabre
Tue Aug 08, 2017 11:28 am
Forum: General Forum
Topic: Mudlet 3.4 - various improvements
Replies: 17
Views: 25297

Re: Mudlet 3.4 - various improvements

That's what I'm doing right now, building from git as a test, but I was talking about provided source tarball (https://www.mudlet.org/download/Mudlet-3.4.0.tar.xz). I am under impression that when archive was packaged --recursive wasn't used (am not entirely sure how you prepare source tarball). I c...
by xabre
Tue Aug 08, 2017 11:01 am
Forum: General Forum
Topic: Mudlet 3.4 - various improvements
Replies: 17
Views: 25297

Re: Mudlet 3.4 - various improvements

Hi, thanks for the new release. I have a problem with compiling, seems that edbee-lib was supposed to be bundled in the source archive, but it isn't, it's just an empty dir. Cannot read $(mybuilddir)/mudlet-3.4.0/src/3rdparty/edbee-lib/edbee-lib/edbee-lib.pri: No such file or directory near the star...