Where to find GUI code

Posted by muffinz on Ask Ubuntu See other posts from Ask Ubuntu or by muffinz
Published on 2013-06-23T03:21:39Z Indexed on 2014/06/02 21:46 UTC
Read the original article Hit count: 151

Filed under:
|
|
|

I've been rummaging through Unity's source code (Shell Interface) and I was a little curious about something; where in the code are you supposed to find positional code? I'll clarify a bit with some examples. How do you find in the code what tells the Launcher to sit on the left side of the screen? Where in the code does it tell the "Session" button on the panel (top) to sit at the very right of the screen?

I guess my real question is how do I find this out for myself? I've looked through a big portion of the source code and can't find anything related to the actual position of these items, only their sub-items like text-align. Any guidance on this would be much appreciated.

© Ask Ubuntu or respective owner

Related posts about unity

Related posts about gui