Skip to content

Commit

Permalink
Don't collapse point cloud 2d renderer rendering group by default,
Browse files Browse the repository at this point in the history
there's plently of room on that tab to show it expanded
  • Loading branch information
nyalldawson committed Nov 18, 2020
1 parent a747db3 commit caee7cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 19 deletions.
Expand Up @@ -24,6 +24,7 @@
#include "qgspointcloudrgbrendererwidget.h"

#include "qgspointcloudrgbrenderer.h"
#include "qgslogger.h"

static bool _initRenderer( const QString &name, QgsPointCloudRendererWidgetFunc f, const QString &iconName = QString() )
{
Expand Down Expand Up @@ -62,7 +63,6 @@ QgsPointCloudRendererPropertiesWidget::QgsPointCloudRendererPropertiesWidget( Qg
, mStyle( style )
{
setupUi( this );
mLayerRenderingGroupBox->setSettingGroup( QStringLiteral( "layerRenderingGroupBox" ) );

layout()->setContentsMargins( 0, 0, 0, 0 );

Expand Down
24 changes: 6 additions & 18 deletions src/ui/pointcloud/qgspointcloudrendererpropsdialogbase.ui
Expand Up @@ -91,7 +91,7 @@
</widget>
</item>
<item>
<widget class="QgsCollapsibleGroupBox" name="mLayerRenderingGroupBox">
<widget class="QGroupBox" name="mLayerRenderingGroupBox">
<property name="title">
<string>Layer Rendering</string>
</property>
Expand All @@ -101,12 +101,6 @@
<property name="checkable">
<bool>false</bool>
</property>
<property name="collapsed" stdset="0">
<bool>true</bool>
</property>
<property name="saveCollapsedState" stdset="0">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
Expand Down Expand Up @@ -187,17 +181,16 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
<customwidget>
<class>QgsBlendModeComboBox</class>
<extends>QComboBox</extends>
<header>qgsblendmodecombobox.h</header>
</customwidget>
<customwidget>
<class>QgsCollapsibleGroupBox</class>
<extends>QGroupBox</extends>
<header>qgscollapsiblegroupbox.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsOpacityWidget</class>
<extends>QWidget</extends>
Expand All @@ -210,11 +203,6 @@
<header>qgspanelwidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>qgsdoublespinbox.h</header>
</customwidget>
<customwidget>
<class>QgsUnitSelectionWidget</class>
<extends>QWidget</extends>
Expand Down

0 comments on commit caee7cd

Please sign in to comment.