I tried to do it in the same way the cookies panel is doing it by adding the onMouseDown event to the panel while initializing it. but, this resizes the columns individually and not adjusts all the columns in the table. and I did set the width of the table to 100%.
To some extent the side panel data is adjusted but not the main panel. Here I am sending the screen shot of my extension and please have a look at it. Even after setting the table width to 100%, if you look into the A11y panel, the table did not took whole space of the panel. Thank you Sebastian and wish you too a very happy new year!! Thanks, Prasanna On Thu, Jan 3, 2013 at 7:45 PM, Sebastian Zartner < [email protected]> wrote: > The columns inside your table should be able to adjust their width > dynamically when you resize the panel as long as you have not set a fix > width for them and the table is set to 100% width. At least that's how the > *Cookies* panel is doing it. > The Net panel uses a function for resizing the columns because there where > issues when expanding the entries. Though this will probably also be solved > via CSS sooner or later. See issue > 4691<http://code.google.com/p/fbug/issues/detail?id=4691> > . > > Happy New Year! > > Sebastian > > > On Thursday, January 3, 2013 7:44:14 PM UTC+1, pbale wrote: > >> Hello, >> >> Can somebody please help me on this. >> >> I am working on an extension to the Firebug. I have a panel with multiple >> toolbar buttons showing different side panels when the toolbar buttons are >> clicked. I have written domplate templates to render the data in to my >> panel and as well the side panels when the toolbar buttons are clicked. >> >> I want to adjust the content of the panel as well side panel when I am >> dragging the common separator between the panel and side panel. >> My main panel has a grid like Firebugs cookies panel. I could able to >> resize headers by dragging the separators in header columns by using the >> onMouseDown event like Firebugs cookies panel but I could not able >> to adjust them when I drag the common separator between the panel and side >> panel. Do I have to add events to resize the content on my panel? >> >> I did also looked into the Firebugs Net panel's Firebug.NetPanel. >> updateHRefLab**elWidthcode() function. >> >> Hope I explained my problem clearly. if not please let me know. >> >> Thanks, >> Prasanna >> >> >> On Wed, Jan 2, 2013 at 10:07 AM, Prasanna Bale <[email protected]>wrote: >> >>> Hello, >>> >>> My panel has a m Xn table and a side panel. I have to adjust the table >>> in the panel as well as side panels when the common separator is used. >>> Does Firebug takes care of resize/adjusting the table when the common >>> separator is adjusted? If so which part of the Firebugs code takes care of >>> it? >>> >>> otherwise how can I do it? I did looked in to the cookies panels >>> headerResizer.js which takes care of resizing of the headers in a grid. >>> >>> Thanks, >>> Prasanna >>> >>> >>> >>> >> >> >> -- >> - >> Prasu >> >> >> -- > You received this message because you are subscribed to the Google > Groups "Firebug" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > https://groups.google.com/forum/#!forum/firebug > -- - Prasu -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at https://groups.google.com/forum/#!forum/firebug
