PDA

View Full Version : Sidebar icons order



danielhalond
February 1st, 2017, 02:30
Hi! I'm trying to alter the order FG loads the top sidebar buttons, but I can't find which file contains that information.

These buttons:
https://prntscr.com/e2y5ie

Thanks :)

damned
February 1st, 2017, 03:40
data_desktop.lua

danielhalond
February 1st, 2017, 10:46
Thanks for the quick reply, dammed! How about the icons that extensions load? Like in that image the first two (FGrandom and DOE Weather)?

damned
February 1st, 2017, 10:51
You have to do it in an extension that runs after they have all been defined.

danielhalond
February 1st, 2017, 10:56
Just using an extension with the data_desktop.lua as base will automaticaly rearrange the icons or do I need to specify anything else?

damned
February 1st, 2017, 11:23
You will need to find the definitions and names of the other icons and then experiment...

danielhalond
February 1st, 2017, 11:36
I see, thanks. What I wanted to know is if I had to write some kind of code to specify that the extension alters the order afterwards everything is loaded or something like that, cause if that's the case I don't know how to do that. I'll test it then, thanks