<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 26-01-16 03:02, Anna Petrášová
wrote:<br>
</div>
<blockquote
cite="mid:CAE0EDErm6RhqkqggWD2+irP1KdPTqgYuURyO2KYdv7CP3HyvUg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<a moz-do-not-send="true"
href="https://drive.google.com/file/d/0B1j-R6U3_Ct9RFd1V3JSbDRjdGc/view?usp=sharing">https://drive.google.com/file/d/0B1j-R6U3_Ct9RFd1V3JSbDRjdGc/view?usp=sharing</a><br>
<div><br>
</div>
<div>Reasons include:</div>
<div>* FlatNotebook behaves strangely on Ubuntu 15+ with
wxpython3 wxGTK, switching tabs doesn't work well</div>
<div>* FlatNotebook rendering glitch on MacOSX with wxpython 3
(visible in the screenshot)</div>
<div>* FlatNotebook causes crashing when switching from 3D to 2D
on MacOSX with wxpython 3 <a moz-do-not-send="true"
href="http://trac.wxwidgets.org/ticket/16357">http://trac.wxwidgets.org/ticket/16357</a></div>
<div>* FlatNotebook probably causes loosing focus when switching
to command console</div>
<div>* FlatNotebook probably causes some GDK critical warnings
on Ubuntu</div>
<div><br>
</div>
<div>Overall, by using native widget (wx.Notebook) we avoid many
glitches. 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?</div>
</div>
</blockquote>
<br>
Looks good to me on MacOSX and Linux, while you are right about
Window.. it would look very outdated.<br>
<blockquote
cite="mid:CAE0EDErm6RhqkqggWD2+irP1KdPTqgYuURyO2KYdv7CP3HyvUg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div><br>
</div>
<div>Related to this, any opinion on making the labels of the
tabs shorter?</div>
<div><br>
</div>
<div>Map layers -> Layers</div>
<div>Command console -> Console</div>
<div>Search modules -> Search</div>
<div>Data catalogue -> Catalogue</div>
<div>Python shell -> Python</div>
</div>
</blockquote>
<br>
+1<br>
<blockquote
cite="mid:CAE0EDErm6RhqkqggWD2+irP1KdPTqgYuURyO2KYdv7CP3HyvUg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div><br>
</div>
<div>Best,</div>
<div>Anna</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
grass-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-dev">http://lists.osgeo.org/mailman/listinfo/grass-dev</a></pre>
</blockquote>
<br>
</body>
</html>