Comments (9)
Explicitly setting the window font using setStyleSheet("* {font-size:8pt;}") may fix this.
from cobaya.
Should be fixed in 667cb0d at least for Windows. Worth checking on other systems.
from cobaya.
Looks tiny in my system (Kubuntu 18.04 with Plasma 5.12). Maybe Windows and Linux scale fonts and window elements in two different ways? Investigating...
from cobaya.
Interesting, looks OK on the Ubuntu cosmobox VM
from cobaya.
No clue. Normally, AFAIK, upscaling for high DPI screens is handled by leaving fonts to a reasonable size (~10-12) and applying a scaling factor (I guess ~2x for 4K).
from cobaya.
Is yours high DPI? Does 10pt or 12pt looks OK? If so might as well just use that.
from cobaya.
(it's probably partly that currently QT only handles integer scale factors, so your screen may be on the boundary scale of switching integers)
from cobaya.
Somewhat high DPI. Qt most definitely handles fractional scale factors (my desktop interface is based on Qt and does. In any case, the correct strategy, that should work if there are no bugs, would be to let the app get from the OS both the font size for the different widgets (in your case, in the first pic, it apparently worked for the menu but not for the drop-down selectors) and also the scaling factor.
I am going to branch out, fix some hard-coded numbers I put there in the past (fixed pixel sizes), remove any mention to a font size, and let's try to go on from there, if you don't mind.
from cobaya.
Fixed by #45
from cobaya.
Related Issues (20)
- Option to relax some consitency checks at resume (was "YOLO mode") HOT 3
- __main__.py HOT 2
- Odd covmat matching HOT 1
- Importance minimization HOT 1
- Access to zstar from theories and likelihoods HOT 2
- `WantTensors: true` in `extra_args` results in a segfault (when also using `external_primordial_pk: true` HOT 2
- Cobaya icon in dark mode HOT 3
- Error installing likelihood data HOT 6
- `oversample_thin: true` does not seem to reduce output HOT 6
- Backward Compatibility with python 3.9 HOT 4
- "The sum of logpriors in the sample is not consistent." when resuming chains HOT 3
- Something went wrong when looking for a covmat HOT 1
- Script invocation is broken on Python 3.9 HOT 4
- Python invocation not doing anything HOT 4
- FutureWarning
- Interpolation error creating a delta chi2 = 20 on DESI likelihood HOT 7
- Installing DESI data: could not be found error HOT 4
- cobaya-install cannot name '__obsolete__' from 'cobaya' (unknown location) HOT 4
- cobaya-install planck_2018_highl_plik.TTTEEE fails HOT 1
- bao.generic likelihood not working for the distances of type Dv_over_rs HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cobaya.