<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 26, 2016 at 2:56 AM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 26/01/16 03:02, Anna Petrášová wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi,<br>
<br>
I plan to change the style of the Layer Manager tabs in the bottom of<br>
the window from wx.FlatNotebook to wx.Notebook. The results look like this:<br>
<br>
<a href="https://drive.google.com/file/d/0B1j-R6U3_Ct9RFd1V3JSbDRjdGc/view?usp=sharing" rel="noreferrer" target="_blank">https://drive.google.com/file/d/0B1j-R6U3_Ct9RFd1V3JSbDRjdGc/view?usp=sharing</a><br>
<br>
Reasons include:<br>
* FlatNotebook behaves strangely on Ubuntu 15+ with wxpython3 wxGTK,<br>
switching tabs doesn't work well<br>
* FlatNotebook rendering glitch on MacOSX with wxpython 3 (visible in<br>
the screenshot)<br>
* FlatNotebook causes crashing when switching from 3D to 2D on MacOSX<br>
with wxpython 3 <a href="http://trac.wxwidgets.org/ticket/16357" rel="noreferrer" target="_blank">http://trac.wxwidgets.org/ticket/16357</a><br>
* FlatNotebook probably causes loosing focus when switching to command<br>
console<br>
* FlatNotebook probably causes some GDK critical warnings on Ubuntu<br>
<br>
Overall, by using native widget (wx.Notebook) we avoid many glitches.<br>
</blockquote>
<br></span>
+1<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
However, the appearance will be different for different OS. I personally<br>
don't have problem with that, but I would suggest applying this to Mac<br>
and Linux, not Windows, because on Windows it looks ugly and since we<br>
still use wxpython 2.8, the described glitches don't apply there. Opinions?<br>
</blockquote>
<br></span>
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.</blockquote><div><br></div><div>Done in r67679. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
Related to this, any opinion on making the labels of the tabs shorter?<br>
</blockquote>
<br></span>
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:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Map layers -> Layers<br>
</blockquote>
<br>
+1<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Command console -> Console<br>
Search modules -> Search<br>
</blockquote>
<br></span>
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 ?<br></blockquote><div><br></div><div>I would think console is pretty clear, but that's just my feeling. I agree Search is ambiguous, although it might not be a huge problem for users. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Data catalogue -> Catalogue<br></blockquote></blockquote><div><br></div><div>this was supposed to be catalog  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
</blockquote>
<br>
+1<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Python shell -> Python<br>
</blockquote>
<br>
Again, not sure if just 'Python' is enough to make it clear.<br>
<br>
IIUC, the reason for shortening is essentially OSX, or ? Wouldn't it be possible to just slightly reduce font size ?</blockquote><div><br></div><div>Not just Mac, in my case last tab is hidden but I can see a small arrow showing that there is another tab. We don't have to decide this now, I was thinking about this for some time and I was wondering if others agree we need this.</div><div><br></div><div><br></div><div>Thanks,</div><div>Anna</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><font color="#888888"><br>
<br>
Moritz<br>
</font></span></blockquote></div><br></div></div>