Filippo Expert Licensed User Longtime User Oct 6, 2025 #1 Hi, I am trying to create a panel with a one-pixel border and a different color. However, the one-pixel border is not displayed; it only appears when I make it two pixels wide. Is this a bug, or am I doing something wrong? By the way, it makes no difference whether you configure it using code or in the designer. The sample project is attached. Screenshot whit 1 pixel border: Screenshot whit 2 pixel border: Attachments testb4i.zip testb4i.zip 3.2 KB · Views: 206
Hi, I am trying to create a panel with a one-pixel border and a different color. However, the one-pixel border is not displayed; it only appears when I make it two pixels wide. Is this a bug, or am I doing something wrong? By the way, it makes no difference whether you configure it using code or in the designer. The sample project is attached. Screenshot whit 1 pixel border: Screenshot whit 2 pixel border:
Alexander Stolte Expert Licensed User Longtime User Oct 6, 2025 #2 Your pnlRoot have a 1dip border too, have you tried setting the border to 0 in the parent panel? Upvote 1
Filippo Expert Licensed User Longtime User Oct 6, 2025 #3 Alexander Stolte said: Your pnlRoot have a 1dip border too, have you tried setting the border to 0 in the parent panel? Click to expand... I would never have thought of that, thank you! Upvote 0
Alexander Stolte said: Your pnlRoot have a 1dip border too, have you tried setting the border to 0 in the parent panel? Click to expand... I would never have thought of that, thank you!