Closed Jerry23011 closed 1 month ago
It's strange, it looks like you've changed the layout?
https://github.com/tisfeng/Easydict/pull/532#issuecomment-2093237751
Yes, I did add a ZStack so that the effect could work. Let me check it
I adjusted the constraints and now it should look the same with the original one. The upper bound of the title varies by one pixel and the rest are exactly the same
ok, looks good.
I think the layout can be optimized.
I think the layout can be optimized.
![]()
It's now equal, the 1 px difference at the bottom is caused by the shadow effect
I suddenly realized that our setting window can be resized, which can cause some strange coordinate issues.
The size of the setting window is carefully designed by us, and resizing it will affect the UI of the configuration.
I think we should prohibit resizing the window, what do you think?
https://github.com/tisfeng/Easydict/assets/25194972/c25df66d-e8a0-4eaf-9e44-42f44fc9914d
I suddenly realized that our setting window can be resized, which can cause some strange coordinate issues.
The size of the setting window is carefully designed by us, and resizing it will affect the UI of the configuration.
I think we should prohibit resizing the window, what do you think?
I think that would be a great approach -- most apps from Apple (like what I'm using now, Safari) don't have resizable Settings window.
I think the layout can be optimized.
![]()
It's now equal, the 1 px difference at the bottom is caused by the shadow effect
Just out of curiosity, may I ask how the note the drawing is done. Like 117px is auto?
Just out of curiosity, may I ask how the note the drawing is done. Like 117px is auto?
Yes it’s auto-calculated by the screenshot app I use: shottr.cc
Preview
https://github.com/tisfeng/Easydict/assets/89069957/bf9b0590-e6f6-41f4-817c-d88b527f06ae
https://github.com/tisfeng/Easydict/assets/89069957/1f718efa-1aad-43bf-87ed-3dee0047203f