-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request ] Follow Scaling per monitor by default #261
Comments
I also endorse this feature request. It will be very helpful. |
I think without this feature hyprlock can't be called feature complete. I use multiple laptops with multiple mixed monitor configurations at different times. This use case requires the same config to work for every monitor you might encounter. There should be some internal mechanism that scales position and font size numbers depending on the screen scale. |
I do think that this is a good idea and i am down to implement it. There is a discussion to be had on how to design the options and semantics.
seems ok, but when we center the widget it might be a bit odd. |
If the screen is I get that |
i meant that when we are centered, it is unclear that 10% would actually be 60%-half width of widget. but that is already how it works so it would not be a problem i guess. |
What, for size percentages you wouldn't multiply by scale because it's already the ratio. But I personally think there should be a pt font size (what every single other program does) which is scaled automatically, because percentages of the monitor don't make any sense for text size. It should just simply be scaled up based on the configured scale of the monitor. |
i was talking about position. |
@PaideiaDilemma do you have any ideas on how to implement the part 2 of this FR? I think font/image size should just be multiplied by the scale number of the monitor it is displayed on. Or there are edge cases that I didn't think of? if ("someone actually wants to use the old font size that is not scaled") {
"a px suffix can be added to access it"
} else if ("backwards compatibility is required") {
"I guess % suffix for the scaled font size can be added and old font size without a suffix kept as is"
// but I don't see the reason to do that
// because making the font size number scale with monitor scale by default won't break
// layouts in a hard to fix way. And the reward for fixing it
// is that it will now work on all screens the same way
// which is what most people want
} |
Calculating absolute size based on the monitor scale is not enough. It needs to be based on the monitor resolution. For image, i think we should rename the old |
Maybe I missed something. For QOL, is it possible for the lockscreen layer to follow per monitor scaling by default?
It's possible to script it and generate compatible per monitor configs, but would be nice to have this by default. Thank you!
Example
EDIT:
MB, I really missed this
#238
But please, maybe an option as a feature? 😄
The text was updated successfully, but these errors were encountered: