Hello everybody,
I was trying to add radio buttons for some optional preferences, this GSoC, to allow for attribute checking. I therefore, with discussions with Tavmjong and Josh, decided to add this kinda UI in the SVG Output pane of the preferences dialog to the right hand side area :
Incorrect Attributes:
Remove ( )
Warn (x)
Ignore ( )
Incorrect Style Properties:
Remove ( )
Warn (x)
Ignore ( )
Style Defaults
Remove ( )
Warn (x)
Ignore ( )
As you might realize, that each button, takes up one row. Therefore, if some button on the left hand side of this UI corresponds to another button, and has a row width set to some higher value, the UI breaks and become like this.
Incorrect Style Properties:
Remove ( )
Warn (x)
Ignore ( )
Too much gap between Remove and Warn options, the reason being, the row in which Remove lies has the width set to some higher value and hence this weird UI. Therefore to tackle such a thing I made a DialogPage inside a DialogPage. Like SVGOutput in itself is a DialogPage and I made another DialogPage named AtrributeChecking and attached it to the right hand side. This kinda solved the former problem, but another problem came up. Now when I expand the preferences window, this right hand side buttons keep moving to the middle like this
Remove()
Remove()
Remove()
like this the on dragging and expanding the window, the buttons keep going in the right hand side direction. If someone wishes to actually observe this behavior, kindly have a look here https://code.launchpad.net/~spyzer-abhishek0/+junk/gsoc2011
Please help me out with this. Google Summer of Code is gonna end on 22nd of August and I have only 5 days. So any help is greatly appreciated.
--