Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Usercontrol grid doesn't respect star size ratios

 
 
Old 11-13-2006   #1 (permalink)
Pon


 
 

Usercontrol grid doesn't respect star size ratios

Hi again,

In a usercontrol, i have a grid with tree columns. the first and the third
column are in star mode. The second one is in auto mode.
When i force the usercontrol size (at design time of the usercontrol), the
grid does respect the size ratios. It doesn't when its width is defined to
Auto. That's what I excpected.
But when I use this user control outside, the inside grid doesn't respect
the size ratios anymore when i set the usercontrol size to a fixed value.

What have I to do to achieve that ?

Thanx in advance.



My System SpecsSystem Spec
Old 11-15-2006   #2 (permalink)
Pon


 
 

Re: Usercontrol grid doesn't respect star size ratios

I've found the problem. In my hierarchy of nested grids, I had just one with
an auto sized width column.



"Pon" <pongla.public@laposte.net> a écrit dans le message de news:
%23$AnOM1BHHA.1224@TK2MSFTNGP04.phx.gbl...
> Hi again,
>
> In a usercontrol, i have a grid with tree columns. the first and the third
> column are in star mode. The second one is in auto mode.
> When i force the usercontrol size (at design time of the usercontrol), the
> grid does respect the size ratios. It doesn't when its width is defined to
> Auto. That's what I excpected.
> But when I use this user control outside, the inside grid doesn't respect
> the size ratios anymore when i set the usercontrol size to a fixed value.
>
> What have I to do to achieve that ?
>
> Thanx in advance.
>



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Desktop grid-size Vista General
Reduce font size or increase size of program guide grid? Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46