PDA

View Full Version : Desktop problem



nyrkov_nik
20 Jul 2010, 6:24 AM
Hi,

I use Desktop in my application and I need it work correct.

There are two bugs..
1. Shortcuts on the desktop line up in a single column (this discussed in thread http://www.sencha.com/forum/showthread.php?86383-Desktop-shortcuts&highlight=desktop+shortcut)

2. (As result of 1.)
In IE8 taskbar panel is move down outside window if shortcuts are too many (see attachment).

Second bug is major priority for me, because I can easily fix first bug.

Thanks a lot!

sven
20 Jul 2010, 8:47 AM
There are no plans on supportnig multiply shortcut columns.

For the second thing, try the following:

desktop.getDesktop().setStyleAttribute("overflow","hidden");

rpnoble
7 Oct 2010, 10:35 PM
I have a solution to the multiple columns for desktop icons. I use the following:



<div id="x-desktop">
<dl id="x-shortcuts">
<div style="float: left; width:66px;">
<dt id="MedStaff-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>Medtronic Staff Database</div></a>
</dt>
<dt id="DR-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>Physician Database</div></a>
</dt>
<dt id="Check-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>Field Team Program Checklist</div></a>
</dt>
<dt id="PreCTD-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>Pre-CTD Survey</div></a>
</dt>
<dt id="PSP-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>iPro Patient Selection Protocol</div></a>
</dt>
<dt id="PPP-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>iPro Process Plan</div></a>
</dt>
</div>
<div style="float: left; width:66px;">
<dt id="news-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>Latest News</div></a>
</dt>
<dt id="ate-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>Ask The Expert Schedule</div></a>
</dt>
<dt id="hcp-win-shortcut">
<a id="HCPLink" href="logon.pl" target="_blank" onclick="window.open(this.href); return false;"><img src="images/s.gif" />
<div>HCP Website</div></a>
</dt>
<dt id="hcpDB-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>HCP Users Database</div></a>
</dt>
<dt id="FF1-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>Phase I Fulfilment</div></a>
</dt>
<dt id="FF2-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>Phase III Fulfilment</div></a>
</dt>
<!-- <dt id="econ-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>Economic Model</div></a>
</dt>
<dt id="acc-win-shortcut">
<a href="#"><img src="images/s.gif" />
<div>Accordion Window</div></a>
</dt> -->
</div>
<div style="float: right; width:66px; margin-top: 50px; margin-right:15px;">
<dt id="P1Help-win-shortcut">
<a id="HCPLink" href="P1Help.html" target="_blank" onclick="alert('For the best viewing, press the F11 Key to enter Full Screen Mode');window.open(this.href); return false;"><img src="images/s.gif" />
<div>Phase I Video Help</div></a>
</dt>
<dt id="P2Help-win-shortcut">
<a id="HCPLink" href="P2Help.html" target="_blank" onclick="alert('For the best viewing, press the F11 Key to enter Full Screen Mode');window.open(this.href); return false;"><img src="images/s.gif" />
<div>Phase II Video Help</div></a>
</dt>
<dt id="P3Help-win-shortcut">
<a id="HCPLink" href="P3Help.html" target="_blank" onclick="alert('For the best viewing, press the F11 Key to enter Full Screen Mode');window.open(this.href); return false;"><img src="images/s.gif" />
<div>Phase III Video Help</div></a>
</dt>
<dt id="P4Help-win-shortcut">
<a id="HCPLink" href="P4Help.html" target="_blank" onclick="alert('For the best viewing, press the F11 Key to enter Full Screen Mode');window.open(this.href); return false;"><img src="images/s.gif" />
<div>Phase IV Video Help</div></a>
</dt>
</div>
</dl>
</div>



by using DIV tags inside the <dl> tags I can have multiple icon columns