On 2/7/06, Uwe Hartl <uwe.hartl at gmx.net> wrote:> Hello, > > I want to put a FXMatrix underneath a FXHeader. The contents of the Matrix > should be sizable in Width for each column. Therefore I think I need to put > FILL_X in the layout of the members of the matrix. How do I finally adjust > the width of the columns of the matrix (as chosen from the user by dragging > the divisions of the Header)? > > It works, if I use VerticalFrames for the columns and put the childs in there, > the problem here is, that the childs have slightly different heights and > therefore the impression of the table gets disturbed. For some of the fields > I have button in there and a Text and for some I just have the text. For some > I just have a checkbox and therefore they all differ a little but I want to > maintain the Table - Look. > > Can someone help me here?i think you cannot set the columnwidth of the matrix explicitly. use LAYOUT_FIX_WIDTH for the children instead. then adjust the children''s width according to the header. hth, -- henon
Hello, I want to put a FXMatrix underneath a FXHeader. The contents of the Matrix should be sizable in Width for each column. Therefore I think I need to put FILL_X in the layout of the members of the matrix. How do I finally adjust the width of the columns of the matrix (as chosen from the user by dragging the divisions of the Header)? It works, if I use VerticalFrames for the columns and put the childs in there, the problem here is, that the childs have slightly different heights and therefore the impression of the table gets disturbed. For some of the fields I have button in there and a Text and for some I just have the text. For some I just have a checkbox and therefore they all differ a little but I want to maintain the Table - Look. Can someone help me here? Thanks Uwe
Thanks henon, this seems to work. I do a Horizontal frame where I put my FIX_WIDTH frames in there and when changing the Header I cycle through all my regords and through all my items in the record to resize them. Hopefully this does not get out of hand with the response time once I have a lot of records. Thanks Uwe