Delphi application resolution problem
I have written an application in Delphi. To the window state of a form I've given wsMaximized. There 开发者_开发问答are three buttons on the form which are anchored to the left, top and bottom. When I run the app on my own laptop I can see all three buttons but when I run it on other computers sometimes the buttons are completelely not visible, sometimes i can see only one. And I can't anyhow reach hose buttons. However, if I change the screen resolution I can see them. But with some computers I can't see them even with the maximum resolution provided. What sould I do with this problem?
Buttons generally have a fixed height and width. This in turn implies that they should be anchored to top or bottom, but not both. Likewise they should be anchored to left or right, but not both.
Your buttons are anchored to both top and bottom which seems wrong. I'd guess your solution is to pick just one of top or bottom anchors.
Your only real option is to make the buttons smaller.
The bottom anchor is squishing the buttons effectively giving them a negative height. You could set a Minimum height for the button to prevent this from happening or you could remove the bottom anchor.
精彩评论