1,246 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
88
views
How to make my Win32 application not DPI-aware but also prevent Windows 10/11 from stretching the application window in blurry form?
When developing a Win32 application, is there a way to make it DPI-unware but also prevent Windows stretching my window to be blurry? I want to keep the window size as if like it was run in 100% / 96 ...
1
vote
0
answers
228
views
Can not trigger DpiChanged event in .NET Framework 4.72 VB Winforms app
I'm trying to add the DpiChanged event in a VB Winforms application, but the event is not raised.
Please check the gif animation in the link below for detailed movement
https://imgur.com/a/hYot4HP
...
0
votes
0
answers
78
views
C#, VS2022, Monitor DPI scaling inconsistent on a single monitor
I have a very strange issue with DPI scaling and visual studio.
I have two very similar C# Winforms apps that behave completely different. Both projects complain about scaling on my display when ...
3
votes
1
answer
177
views
Problems saving in 300 dpi using ggsave
I am having problems saving my plots in 300dpi.
I have used a similar code before but now it is saving them in 96pdi
Here is a sample code (doesn't matter what type of plot it save it at the same ...
0
votes
0
answers
53
views
Different dimensions of html-Element between different displays
For a "browser fingerprint" project at university I want to measure dimensions of different html-elements to get a fingerprint due to different rendering engines and configurations of the ...
0
votes
0
answers
75
views
When using SaveFileDialog.ShowDialog() the MDI Form changes DPI context. How to prevent that?
At the moment, after calling the ShowDialog method, the font sizes of all application become smaller. After closing the dialog they are not restored to the original size.
Looks like DPI context is ...
0
votes
1
answer
54
views
WPF window covering all screens at the same time
I want a WPF window to cover all monitors.
<Window ... WindowStyle="None" ...
In app.manifest DPI Awareness is enabled:
<application xmlns="urn:schemas-microsoft-com:asm.v3&...
0
votes
0
answers
43
views
pysimplegui window size changes in spyder vs in terminal
I suspect this is a poorly posed question but I don't know how to do better. I frequently use pysimplegui and often use spyder for development. There is an unfortunate problem in that within spyder my ...
-2
votes
1
answer
116
views
C# WPF buttons icon size on high DPI problem
I have a problem with button's icon size under high resolution and DPI (200%).
Under 1920x1080 100% everything is fine:
https://i.sstatic.net/fzrDEXa6.png
Under 2880x1800 200% the icons are too small:
...
-1
votes
1
answer
287
views
Exporting with correct size and resolution in GIMP
When i do the following thing manually: go to image, scale image, change the x resolution 600 dpi and the y resolution to 600 dpi. The width and height change accordingly to the proper size in mm. If ...
2
votes
1
answer
94
views
How to increase resolution of ggplots without using ggsave in officer?
I'm using officer to automate powerpoint slides that contain ggplots. Unfortunately, the default resolution is poor. I saw a previous question from 6 years ago suggest using ph_with_vg(), but that ...
0
votes
0
answers
75
views
how to adjust tkinter treeview rowheight, the content is wrapped when over one row
This is the problem screenshot:
And this is my code:
tree_frame = Frame(self.root)
tree_frame.pack()
self.tree = ttk.Treeview(tree_frame, columns=['1', '2', '3'], show='headings', ...
1
vote
0
answers
72
views
How to get a clear visual of my WPF hosted control in an Office Custom Task Pane when Windows scaling setting is more than 100%?
I am developping a VSTO Add-In for Microsoft Office using C# and WPF. The framework is .NET framework 4.8.
The Add-In consists of several buttons in the ribbon and several task panes that can be ...
0
votes
0
answers
39
views
How to convert a coord in native DPI to one in WPF logic DPI?
In the project I contribute to (C#, WPF) I need to position multiple OSD windows on multiple screens, e.g. top-left, center,bottom-right, etc.
I use the following code to get all screens' workarea and ...
0
votes
0
answers
236
views
Problem in Winforms .NET Core designer and Windows DPI
I get a new computer with high resolution screen, but it causes a problem for me with my old projects. I already have a Windows application I built it with .NET Core, and when I transferred my code to ...