Object Viewer: (1) Aborted attempt at limiting tab width, (2) Fix to switching to new tab. Bug Number: n/a Release notes (y/n): no For Release Nums: 7.1 ------------------------------------------ (1) Aborted attempt at limiting tab width. ------------------------------------------ I'm not having any luck effectively limiting the width of tabs. This is done through the "CSS-like" style interface. Unfortunately, the text alignment can't be changed from "center", so this isn't useful. Here are two screenshots ... with and without left-eliding: http://cadswes2.colorado.edu/~philw/2017/BorLc7-Win/2017-05-16/LimitTabWidth-Bad.png http://cadswes2.colorado.edu/~philw/2017/BorLc7-Win/2017-05-16/LimitTabWidth-Bad2.png Online, just about every thread about this makes the same suggestion (i.e. what I tried) and then concludes that custom drawing of tab content would be necessary (which we are not currently doing). In this commit, the application of CSS-like styles to our ObjTabBar was broken out into its own new method: void OpenObjectDlg::updateObjTabStyles(); ------------------------------- (2) Fix to switching to new tab. ------------------------------- Programmatically setting the current tab WAS NOT ALWAYS causing that tab to be scrolled into view. Some enhancements were made to the following method to fix this: void OpenObjectDlg::selectObjTab (SimObj* refObj) ---