Re: [Qgis-developer] Layers and Browser dock widget icons

2015-05-30 Thread Nyall Dawson
On 29 May 2015 at 05:55, Larry Shaffer wrote: > Hi, > > The new icons for the Layers and Browser docks look good, but now the sizing > and spacing looks awkward when compared to the main toolbars (see 0, 1 > screen snaps), especially on Mac. What's the likelihood that we can switch > those over fr

Re: [Qgis-developer] Layers and Browser dock widget icons

2015-05-30 Thread Matthias Kuhn
Hi Larry, Actually I haven't written these lines, they come from the GSoC 2012 work by Ramón Carillo on QGIS for Android. I think the fixed number there relates to the "/ 160" from the following page which takes a 160 dpi screen as reference [1] while our code uses a 130 dpi screen as reference.

Re: [Qgis-developer] Layers and Browser dock widget icons

2015-05-29 Thread Larry Shaffer
Hi Matthias, I'm not understanding that referenced calculation. The fixed number you multiply the dpi against is platform-specific, yes? I would be interested in a Qt4-based black box function to manage this high-rez scaling. For reference, though a bit dated: http://blog.qt.io/blog/2013/04/25/r

Re: [Qgis-developer] Layers and Browser dock widget icons

2015-05-29 Thread Matthias Kuhn
Having more SVG icons helps a lot to make the interface look good (despite the fact that some graphics designer may object that there's no hinting) For reference, this code is used in QField to calculate button sizes and may as well be used to calculate the default icon size device independently:

Re: [Qgis-developer] Layers and Browser dock widget icons

2015-05-29 Thread Mathieu Pellerin
I'd say the related changes committed within the last 72 hours helped a lot in that regard. For one, the icon refresh moved away from 16 x 16 png icons to SVG graphics. In addition, the icon size for dock tool buttons are now taking into account the user preferred icon size. On Fri, May 29, 2015 a

Re: [Qgis-developer] Layers and Browser dock widget icons

2015-05-29 Thread Alessandro Pasotti
Please consider HiDPI screens when planning icon sizes, at least they should be configurable, there is still a settings option for icon sizes. At the HF we discussed about the different options, one is to add options like very small small normal big huge instead of the px size, this should scale

Re: [Qgis-developer] Layers and Browser dock widget icons

2015-05-28 Thread Mathieu Pellerin
Larry, As Nyall mentioned, icon size of the dock tool button will go back to 16 x 16 by default. That'll make things look the same as before. That said, the border on the buttons (no present on other OSes) aren't very nice. It might be worth adding a style specifically for os x to remove those. O

Re: [Qgis-developer] Layers and Browser dock widget icons

2015-05-28 Thread Larry Shaffer
Hi Nyall, Thanks. Larry Shaffer Dakota Cartography Black Hills, South Dakota On Thu, May 28, 2015 at 4:36 PM, Nyall Dawson wrote: > > On 29 May 2015 5:55 am, "Larry Shaffer" wrote: > > > > Hi, > > > > The new icons for the Layers and Browser docks look good, but now the > sizing and spacing

Re: [Qgis-developer] Layers and Browser dock widget icons

2015-05-28 Thread Nyall Dawson
On 29 May 2015 5:55 am, "Larry Shaffer" wrote: > > Hi, > > The new icons for the Layers and Browser docks look good, but now the sizing and spacing looks awkward when compared to the main toolbars (see 0, 1 screen snaps), especially on Mac. What's the likelihood that we can switch those over from

[Qgis-developer] Layers and Browser dock widget icons

2015-05-28 Thread Larry Shaffer
Hi, The new icons for the Layers and Browser docks look good, but now the sizing and spacing looks awkward when compared to the main toolbars (see 0, 1 screen snaps), especially on Mac. What's the likelihood that we can switch those over from QToolButtons to a actions on a QToolBar instead for the