If you replace TileGroup's width/height with actual numbers, that's the size it will be and it will not shrink or grow. When you use 100% for TileGroup width/height, its computed minWidth/minHeight will be based on the measurements of the DataGrid and it will not shrink below whatever that computes to be.
On 12/12/13 2:28 PM, "mark goldin" <[email protected]> wrote: >Here is how I do it in a pseudo code: >TitleWindow > SkinnableContainer > TileGroup width="100%" height="100%" requestedRowCount="1" >requestedColumnCount="1" > DataGrid > >The same thing works fine without TileGroup. I tried to replace %% with >real numbers. Did not work either. > > >On Thu, Dec 12, 2013 at 3:57 PM, Alex Harui <[email protected]> wrote: > >> If you are using % width/height, the measuredWidth/Height also becomes >>the >> minWidth/minHeight which can prevent shrinking. >> >> On 12/12/13 11:59 AM, "mark goldin" <[email protected]> wrote: >> >> >I have a TitleWindow that is resizable. Inside of it I have a TileGroup >> >with a single dataGrid. Looks like when I resize the TitleWindow it >>does >> >not affect TileGroup. The same TitleWindow works fine if I remove >> >TitleGroup. Resizing will work correctly with dataGrid. I will try to >>come >> >up with a test case. But for now I am just asking for a direction of >> >researching the problem. >> > >> >Thanks >> >>
