Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improve the static dataset groupbox
harmonize margins and add tooltip to comboboxes
  • Loading branch information
DelazJ authored and nyalldawson committed Nov 5, 2021
1 parent 2be05e2 commit 307833a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/gui/mesh/qgsmeshstaticdatasetwidget.cpp
Expand Up @@ -21,6 +21,7 @@ QgsMeshStaticDatasetWidget::QgsMeshStaticDatasetWidget( QWidget *parent ): QWidg
{
setupUi( this );

this->layout()->setContentsMargins( 0, 0, 0, 0 );
mDatasetScalarModel = new QgsMeshDatasetListModel( this );
mScalarDatasetComboBox->setModel( mDatasetScalarModel );
mDatasetVectorModel = new QgsMeshDatasetListModel( this );
Expand Down
12 changes: 10 additions & 2 deletions src/ui/mesh/qgsmeshstaticdatasetwidgetbase.ui
Expand Up @@ -28,7 +28,11 @@
</spacer>
</item>
<item row="3" column="2">
<widget class="QComboBox" name="mVectorDatasetComboBox"/>
<widget class="QComboBox" name="mVectorDatasetComboBox">
<property name="toolTip">
<string>Select the timestamp to use for the vector dataset group display</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_3">
Expand All @@ -45,7 +49,11 @@
</widget>
</item>
<item row="3" column="0">
<widget class="QComboBox" name="mScalarDatasetComboBox"/>
<widget class="QComboBox" name="mScalarDatasetComboBox">
<property name="toolTip">
<string>Select the timestamp to use for the scalar dataset group display</string>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="4">
<widget class="Line" name="line">
Expand Down

0 comments on commit 307833a

Please sign in to comment.