Thread: Sidebar icons order
-
February 1st, 2017, 02:30 #1
- Join Date
- Oct 2014
- Posts
- 71
Sidebar icons order
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
-
February 1st, 2017, 03:40 #2
data_desktop.lua
-
February 1st, 2017, 10:46 #3
- Join Date
- Oct 2014
- Posts
- 71
Thanks for the quick reply, dammed! How about the icons that extensions load? Like in that image the first two (FGrandom and DOE Weather)?
-
February 1st, 2017, 10:51 #4
You have to do it in an extension that runs after they have all been defined.
-
February 1st, 2017, 10:56 #5
- Join Date
- Oct 2014
- Posts
- 71
Just using an extension with the data_desktop.lua as base will automaticaly rearrange the icons or do I need to specify anything else?
-
February 1st, 2017, 11:23 #6
You will need to find the definitions and names of the other icons and then experiment...
-
February 1st, 2017, 11:36 #7
- Join Date
- Oct 2014
- Posts
- 71
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
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks