04-18-2015, 02:20 PM | #16 |
Grand Sorcerer
Posts: 27,553
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
07-04-2015, 03:17 PM | #17 |
Banned
Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
|
Is there a way to have the dropdown box showing sorted img-keys?
Ok that was easy replace Code:
image['values'] = img_dic.keys() Code:
image['values'] = sorted(img_dic.keys()) Code:
image['values'] = img_dic.keys().sort() Last edited by rubeus; 07-04-2015 at 03:36 PM. |
07-04-2015, 04:37 PM | #18 | |
Grand Sorcerer
Posts: 27,553
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Code:
image['values'] = img_dic.keys() image['values'].sort() print image['values'] Code:
print sorted(img_dic.keys()) Last edited by DiapDealer; 07-05-2015 at 12:46 PM. |
|
07-05-2015, 12:20 AM | #19 |
Banned
Posts: 272
Karma: 1224588
Join Date: Sep 2014
Device: Sony PRS 650
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I need help with text wrap... | skammer1974 | Sigil | 3 | 03-06-2013 07:28 PM |
TEXT WRAP AROUND IMAGES | RKEP71 | Sigil | 1 | 06-20-2011 08:26 PM |
Image wrap test | Jellby | ePub | 15 | 05-04-2011 02:30 PM |
LRF and wrap-around text | Seabound | Calibre | 13 | 12-28-2008 03:30 PM |