View Single Post
Old 05-03-2012, 03:52 AM   #350
NuPogodi
Connoisseur
NuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the end
 
Posts: 58
Karma: 31942
Join Date: Feb 2012
Device: Kindle 3, Tolino Shine, Kobo Glo
Quote:
Originally Posted by dpavlin View Post
Do you have some code to share? We can put keyboard shortcuts on top of icons in new ui rewrite if I'm not mistaken (right now text always have white background)
1. Are you mocking about hiding icons by white-backgrounded text? To show icons, I've used a function similar to FrameContainer with HorisontalGroup consisted of 1) ImageWidget /the icons are plain png-files/, 3) TextWidget /filenames/ and 2) empty Widget to define a gap in-between. So, one may load, do not load or just replace icons by something else (say, text prompts for corresponding keycode to run the item).

Quote:
Originally Posted by dpavlin View Post
Do you have some code to share?
2. As far as I understood, new UI (mentioned by Dave) already solved the problem. If not, I may of cause post a link to modified filechooser.lua and widget.lua.

Quote:
Originally Posted by dave2008 View Post
We have menu that handles long item names in the new UI framework... Press right arrow key in a item will pop up a message box to show a full name. How about that?
3. Well, i did not know the new UI-widget splits long strings. In my kdpf-version (April.2), the one-line info appears only if the string is not too long. My naive attempts to split long lines with "\n" just failed.
4. If it does handle strings with few lines, I'd rather add to this info-window some other useful details (filesize; date; eventually, percents of read text for those files that has already been opened in kpdfviewer, etc)
NuPogodi is offline   Reply With Quote