2011-01-13, 22:09
loggio Wrote:Qualar,
i had a quick look through confidence code, i stripped out the code for ascending/descending toggle, if you could add this as a small arrow toggle button next to "sort by" in the menubar it would be greatly appreciated. what do you think?
this is the "Sort by" code inside 'includes_MenuBar' you'd be looking for:
<control type="button" id="3">
<description>Sort by button</description>
<include>MenuBarWideBtn</include>
<label>103</label>
</control>
Add the following code from confluence below, and modify to suit the skin:
<control type="togglebutton" id="4">
<description>Sort asc</description>
<posx>220</posx>
<posy>53</posy>
<label>-</label>
<onleft>3</onleft>
<onright>50</onright>
<onup>2</onup>
<ondown>99</ondown>
</control>
Cheers,
Loggio.
Yes, I was already working on the sort by field to add some extra sorts. The problem is where to locate the asc/des toggle. I need to give it some thought.