I designed like this
but when I run it appears like this
Does the group box may cause of this problem ?
Visual Basic
This post has been edited by shah770: Jan 15 2017, 01:36 AM
Windows form not appearing as designed
Windows form not appearing as designed
|
Jan 15 2017, 01:31 AM, updated 8y ago
Show posts by this member only | IPv6 | Post
#1
|
Junior Member
44 posts Joined: Apr 2013 |
I designed like this
but when I run it appears like this Does the group box may cause of this problem ? Visual Basic This post has been edited by shah770: Jan 15 2017, 01:36 AM |
|
|
|
Jan 15 2017, 01:36 AM
Show posts by this member only | IPv6 | Post
#2
|
Junior Member
225 posts Joined: Nov 2006 |
check your picture box anchor property
|
|
Jan 15 2017, 01:45 AM
Show posts by this member only | IPv6 | Post
#3
|
Junior Member
44 posts Joined: Apr 2013 |
|
|
Jan 15 2017, 03:24 PM
Show posts by this member only | IPv6 | Post
#4
|
Junior Member
225 posts Joined: Nov 2006 |
your text box and picture box have the same anchor or dock property? it looks like your picture is stretching to the right and bottom when resize. is this by design?
also do check if your picture box is set to resize according to picture size? QUOTE(shah770 @ Jan 15 2017, 01:45 AM) i changed both Anchor and dock it only change the position of the image , however the form shape are still same , those username and password text box are not aligned as in design mode when I run it . This post has been edited by buffalowings: Jan 15 2017, 03:26 PM |
|
Jan 16 2017, 11:04 AM
Show posts by this member only | Post
#5
|
Senior Member
4,463 posts Joined: Jan 2003 |
DPI issue.
Seems like the OS is 125% DPI settings. Your picturebox size have to be calculated real time with the scaling factor of the OS or using "point" as size instead of pixels. This post has been edited by dstl1128: Jan 16 2017, 11:04 AM |
Change to: | 0.0141sec
0.36
5 queries
GZIP Disabled
Time is now: 29th March 2024 - 04:22 AM |