Fixed Bar sizing issue#170
Fixed Bar sizing issue#170josteink merged 2 commits intoworkspacer:masterfrom Eyu-Tech:bar-sizing-issue
Conversation
|
I really can't see why this change should fix your issues. And I kinda don't like fixing bugs by making changes which in theory shouldn't ... change things. Basically I don't like magic 😄 On the other hand I can't see how this change can cause any other negative adverse effects, so unless anyone else objects, I'm OK with merging this. |
|
Yes I was also quite confused. It hit me when I saw 24 to 30 => 30/24 = 1,25 which is the Windows scaling of Monitor 1 and 3. Monitor 2 is the only one at a scaling on 100%. I don't know how this could be prevented as Point is a class inside System.Windows.Forms.Control and I can't debug into it to see who is the baddy |
- not the best solution but it works so far
|
I updated the Branch. Now the size will be overwritten after the scaling happened. It's not a good solution an quite ugly in my opinions but it works so far. |
|
I notice you set the Is that intentional or a slip? |
|
It's intentional, if the Height is not set before the Location is assigned with Point, the bar will slide up by the difference of the scaling. So in my case the bar was 6px up outside of the screen. |
|
Oh well. Consider it merged then 😄 |
Issue mentioned in https://github.com/rickbutton/workspacer/issues/169