Quote:
Originally Posted by dpavlin
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
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
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)