[QGIS-Developer] QGIS 3 - No Margin on Dockable Dialog Boxes

C Hamilton adenaculture at gmail.com
Fri May 19 12:32:34 PDT 2017


That may be the problem. I used a QDockWidget. I will switch it out for the
QgsDockWidget.

On Thu, May 18, 2017 at 7:25 PM, Nyall Dawson <nyall.dawson at gmail.com>
wrote:

> On 19 May 2017 at 00:37, C Hamilton <adenaculture at gmail.com> wrote:
> > I recently completed the conversion of Lat Lon Tools to work with QGIS
> 3. It
> > is in the plugin repo.
> >
> > I noticed that my dockable dialog boxes seem to have no margin around
> them
> > in comparison to QGIS 2. Was this intended? Do I need a margin or leave
> it
> > as is?
>
> There's been no intentional changes here. It's likely one of the
> slight styling differences resulting from Qt4->Qt5 transition.
>
> Side note: If you're porting to QGIS 3 API, make sure you use
> QgsDockWidget in place of QDockWidget to ensure consistent behavior
> with the inbuilt docks.
>
> Nyall
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170519/36a1d018/attachment.html>


More information about the QGIS-Developer mailing list