C# Pixel Size.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Coleman

    #1

    C# Pixel Size.

    When I move my C# development app from desktop PC to laptop (Both run XP
    Pro)(both set 1024x768) and load it into VS.NET the position and size of
    controls changes and some user controls on the laptop IDE become
    mis-aligned. (I can almost live with this bug. Occurs only on the first
    TabPage of a multi-TabPage control)
    What I find perplexing is, I have a User Control size 116, 324 (both PC and
    laptop) when its on a PC form its size is 118, 326 (allow 1 pixel margin),
    but on the laptop its size is 108, 308 pixels on all forms and there is no
    cropping of the control. (Also form size changes from 780x560 to 713x526)

    Thanks, David.


  • Ron Bullman

    #2
    Re: C# Pixel Size.

    David,

    It depends on the screens DPI settings. Well known issue but nothing to do
    with C#. Try other NG, such as ...dotnet.frame work.windowsfor m.


    Ron
    "David Coleman" <coleydog@hotma il.com> wrote in message
    news:uRuBJ1mUDH A.2284@TK2MSFTN GP09.phx.gbl...[color=blue]
    > When I move my C# development app from desktop PC to laptop (Both run XP
    > Pro)(both set 1024x768) and load it into VS.NET the position and size of
    > controls changes and some user controls on the laptop IDE become
    > mis-aligned. (I can almost live with this bug. Occurs only on the first
    > TabPage of a multi-TabPage control)
    > What I find perplexing is, I have a User Control size 116, 324 (both PC[/color]
    and[color=blue]
    > laptop) when its on a PC form its size is 118, 326 (allow 1 pixel margin),
    > but on the laptop its size is 108, 308 pixels on all forms and there is no
    > cropping of the control. (Also form size changes from 780x560 to 713x526)
    >
    > Thanks, David.
    >
    >[/color]


    Comment

    Working...