Hi, perhaps the tab widget does not support it, but could the label "long name" be provided by a mouse-over tip ?
Vincent. Le mardi 26 janvier 2016 à 08:56 +0100, Moritz Lennert a écrit : > On 26/01/16 03:02, Anna Petrášová wrote: > > Hi, > > > > I plan to change the style of the Layer Manager tabs in the bottom of > > the window from wx.FlatNotebook to wx.Notebook. The results look like this: > > > > https://drive.google.com/file/d/0B1j-R6U3_Ct9RFd1V3JSbDRjdGc/view?usp=sharing > > > > Reasons include: > > * FlatNotebook behaves strangely on Ubuntu 15+ with wxpython3 wxGTK, > > switching tabs doesn't work well > > * FlatNotebook rendering glitch on MacOSX with wxpython 3 (visible in > > the screenshot) > > * FlatNotebook causes crashing when switching from 3D to 2D on MacOSX > > with wxpython 3 http://trac.wxwidgets.org/ticket/16357 > > * FlatNotebook probably causes loosing focus when switching to command > > console > > * FlatNotebook probably causes some GDK critical warnings on Ubuntu > > > > Overall, by using native widget (wx.Notebook) we avoid many glitches. > > +1 > > > However, the appearance will be different for different OS. I personally > > don't have problem with that, but I would suggest applying this to Mac > > and Linux, not Windows, because on Windows it looks ugly and since we > > still use wxpython 2.8, the described glitches don't apply there. Opinions? > > I think that ideally, whenever possible, we should avoid having > different treatments for different OS's. But if you all think that the > windows version looks too ugly (I'm quite insensitive to such issues, so > not a good judge), then +1 as long as windows is still wxpython 2.8. > > > > > > > Related to this, any opinion on making the labels of the tabs shorter? > > For me they can be as short as you want, as I know what they are about, > but we have to try to think like a GRASS newbie, here. So, my > reflections in detail: > > > > > Map layers -> Layers > > +1 > > > Command console -> Console > > Search modules -> Search > > For these two I'm not sure if the short version is clear enough on what > these are about: will most users understand what a 'Console' is ? At > what is it you can search there ? > > > Data catalogue -> Catalogue > > +1 > > > Python shell -> Python > > Again, not sure if just 'Python' is enough to make it clear. > > IIUC, the reason for shortening is essentially OSX, or ? Wouldn't it be > possible to just slightly reduce font size ? > > Moritz > _______________________________________________ > grass-dev mailing list > grass-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-dev _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev