Actions
Bug #372
closedFix nav bar to fit available width
Start date:
10 Aug 2014
Due date:
% Done:
100%
Estimated time:
Severity:
03 - Medium
Description
Seems like you could do this by:
- Get display size
- Divide by 32 (size of icons
- Subtract 2 (both ends)
- Divide by 5 (number of icons + clock)
That's the number of equals spaces each icon should take. Fit icons in the middle/right of that.
The question is how to get the display size. xdpyinfo might work while xinit is running. If so, it could dynamically generate the mbdock.session file based on the above calculation.
If xdpyinfo doesn't work then another method of finding the display size will be necessary and the dynamic generation of mbdock.session will depend on how that info is gathered.
Actions