<div dir="ltr"><div>Hey Julian! <br>Some thoughts on the redesign:<br></div><div><br>= &quot;Interface Style&quot; option to toggle between old &quot;Classic&quot; style and new &quot;Flat&quot; style =<br>= More flat widget drawing =<br><br></div><div>I agree with Campbell, this should be more extreme. Tweaks like the different embosses could be controlled as a theme setting (like widget emboss).<br><br></div><div><br>= Implemented a Sub-Button pipline for widget rollover feedback but can be used for much more =<br></div><div><br>Nice! To be clear, what do you mean by &quot;much more&quot;?<br></div><div></div><div>Can it be used to show a driver expression when hovering over a driven value for example?<br></div><div>Maybe it would be a good idea to make a list of possible uses in the task.<br></div><div><br><br>= New panel design =<br></div><br>Going in the right direction IMO, going to comment in the task.<br><div><br><br>= Improved Menu/Popup design =<br><div>= Increased default DPI to 78 (was 72), decreased font sizes =<br></div><div>= New Area/Region edge design, also added a theme color option for it =<br>= Thinner scrollbars =<br><br></div><div>+1 to all, makes the ui look more organized and focused. Although 78 looks like a bit too much.<br></div><div><br><br>= New checkbox button design =<br>
</div><div><br>What is the reasoning for making them round? Checkboxes are traditionaly square to differentiate them from radio buttons.<br></div><div><br><br>= Theme option for widget corner roundness = <br><br></div><div>I don&#39;t think this makes a lot of sense (most users won&#39;t care), and at the extreme values padding starts to become messy.<br></div><div><br><br></div><div>By the way, you forgot to mention horizontal tabs in preferences.<br><br></div><div>Cheers,<br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-10 14:02 GMT-03:00 Julian Eisel <span dir="ltr">&lt;<a href="mailto:eiseljulian@gmail.com" target="_blank">eiseljulian@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Alright, talked about this in IRC and this is definitely a quite nice<br>
approach even if it is a bit of work. I&#39;ll first try to get a working<br>
system for this done, later we can check more detailed on developing a<br>
couple of styles.<br>
<br>
We can keep keep working with what we already have in the meanwhile,<br>
so for now nothing has changed except that I&#39;ll look into making the<br>
&quot;Interface Style&quot; idea more insane ;)<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Jun 10, 2015 at 6:15 PM, Campbell Barton &lt;<a href="mailto:ideasman42@gmail.com">ideasman42@gmail.com</a>&gt; wrote:<br>
&gt; On Thu, Jun 11, 2015 at 12:12 AM, Julian Eisel &lt;<a href="mailto:eiseljulian@gmail.com">eiseljulian@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Hey all!<br>
&gt;&gt;<br>
&gt;&gt; I guess most of you already noted that I was working on a graphical<br>
&gt;&gt; redesign branch for a couple of days now. So far this was mostly<br>
&gt;&gt; fooling around since we discussed a lot about many things but didn&#39;t<br>
&gt;&gt; make many desicions. So currently I&#39;ve implemented a mixture of<br>
&gt;&gt; different proposals/styles.<br>
&gt;&gt;<br>
&gt;&gt; Main changes so far:<br>
&gt;&gt; * &quot;Interface Style&quot; option to toggle between old &quot;Classic&quot; style and<br>
&gt;&gt; new &quot;Flat&quot; style<br>
&gt;&gt; * Implemented a Sub-Button pipline for widget rollover feedback (Task:<br>
&gt;&gt; <a href="https://developer.blender.org/T38070" rel="noreferrer" target="_blank">https://developer.blender.org/T38070</a>) but can be used for much more<br>
&gt;&gt; * New panel design (Task: <a href="https://developer.blender.org/T41261" rel="noreferrer" target="_blank">https://developer.blender.org/T41261</a>)<br>
&gt;&gt; * Improved Menu/Popup design<br>
&gt;&gt; * More flat widget drawing (disabled outlines, emboss and shading -<br>
&gt;&gt; Task: <a href="https://developer.blender.org/T38037" rel="noreferrer" target="_blank">https://developer.blender.org/T38037</a>)<br>
&gt;&gt; * Increased default DPI to 78 (was 72), decreased font sizes<br>
&gt;&gt; * New Area/Region edge design, also added a theme color option for it<br>
&gt;&gt; (mainly for testing)<br>
&gt;&gt; * Thinner scrollbars<br>
&gt;&gt; * Theme option for widget corner roundness (mainly for testing, don&#39;t<br>
&gt;&gt; think we should have that in master TBH - based on an old patch from<br>
&gt;&gt; Pablo)<br>
&gt;&gt; * New checkbox button design<br>
&gt;&gt;<br>
&gt;&gt; Some screenshots of the current state of the branch:<br>
&gt;&gt; * Full default screen: <a href="https://developer.blender.org/F188930" rel="noreferrer" target="_blank">https://developer.blender.org/F188930</a><br>
&gt;&gt; * Sub-buttons widget rollover (.gif) <a href="https://developer.blender.org/F187781" rel="noreferrer" target="_blank">https://developer.blender.org/F187781</a><br>
&gt;&gt; * New menu design: <a href="https://developer.blender.org/F185707" rel="noreferrer" target="_blank">https://developer.blender.org/F185707</a><br>
&gt;&gt; * &quot;Interface Style&quot; menu: <a href="https://developer.blender.org/F188942" rel="noreferrer" target="_blank">https://developer.blender.org/F188942</a><br>
&gt;&gt; * &quot;Classic&quot; style: <a href="https://developer.blender.org/F188937" rel="noreferrer" target="_blank">https://developer.blender.org/F188937</a><br>
&gt;&gt;<br>
&gt;&gt; Up till now, I&#39;ve mostly worked on my own, asking Pawel for new ideas,<br>
&gt;&gt; feedback and mockups now and then, but think at this point it would be<br>
&gt;&gt; good to join forces on this (at least the UI team).<br>
&gt;&gt; First some general feedback on status quo would be good, but then we<br>
&gt;&gt; should start looking into some details, make desicions and also work<br>
&gt;&gt; on the new default theme(s).<br>
&gt;&gt; The exact branch name is UI-graphical-redesign btw, but the<br>
&gt;&gt; UI-experiments branch is in sync with it.<br>
&gt;&gt;<br>
&gt;&gt; So! I see this as a good chance to prove (find?) the power of the UI<br>
&gt;&gt; team and as a good warm up project for more, hope we can get something<br>
&gt;&gt; done :)<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; - Julian -<br>
&gt;<br>
&gt; Hi, I checked the branch and the main concern I have with the code so<br>
&gt; far is that flat/classic are basically tweaks to the same UI style.<br>
&gt;<br>
&gt; Thats fine if all we want is some subtle variation, on a similar base.<br>
&gt;<br>
&gt; The reason I think this could become a problem is the further we push<br>
&gt; each button style with this method, we basically mix all theme code in<br>
&gt; the same code-path (with a bunch of conditional checks all over)...<br>
&gt; which becomes hard to maintain.<br>
&gt; Even if it seems OK for the time being... areas like this tend to grow<br>
&gt; over time. (each time adding some button style option seems OK... but<br>
&gt; after a year or two we have spaghetti code - where fixing an issue<br>
&gt; with one style easily breaks another).<br>
&gt;<br>
&gt;<br>
&gt; I think it would be better to split the styles up in the code into<br>
&gt; distinct types (a little like we have for modifiers, customdata,<br>
&gt; DerivedMeshe ... already).<br>
&gt;<br>
&gt; uiWidgetStyle {<br>
&gt;     draw_operator();<br>
&gt;     draw_number();<br>
&gt;     draw_slider();<br>
&gt;     draw_text();<br>
&gt;     draw_label();<br>
&gt;     draw_color();<br>
&gt; ... etc ...<br>
&gt; };<br>
&gt;<br>
&gt; ... then each widget can define its own callbacks and they don&#39;t have<br>
&gt; to share any logic with each-other (they can of course share some<br>
&gt; lower level utility functions too if it makes sense).<br>
&gt;<br>
&gt; ----<br>
&gt;<br>
&gt; Irrespective if we go ahead with button style code, I think it would<br>
&gt; be good to start out with at least 2x extra distinct styles,<br>
&gt; (different enough that we can verify the style system works well).<br>
&gt;<br>
&gt; As an example... the Rounded and Minimal styles from 2.4x would be an<br>
&gt; OK test-case.<br>
&gt; <a href="http://download.blender.org/ftp/ideasman42/pics/blender_24_rounded_minimal.png" rel="noreferrer" target="_blank">http://download.blender.org/ftp/ideasman42/pics/blender_24_rounded_minimal.png</a><br>
&gt;<br>
&gt; While you could pick other examples, the point is to show a working<br>
&gt; style system. The actual design work can be done separately.<br>
&gt; _______________________________________________<br>
&gt; Bf-interface mailing list<br>
&gt; <a href="mailto:Bf-interface@blender.org">Bf-interface@blender.org</a><br>
&gt; <a href="http://lists.blender.org/mailman/listinfo/bf-interface" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-interface</a><br>
_______________________________________________<br>
Bf-interface mailing list<br>
<a href="mailto:Bf-interface@blender.org">Bf-interface@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-interface" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-interface</a><br>
</div></div></blockquote></div><br></div>