On 8 October 2015 at 11:46, Lubomir I. Ivanov <[email protected]> wrote:
> On 8 October 2015 at 09:49, Dirk Hohndel <[email protected]> wrote:
>>
>> Any ideas?
>>
>
> it could be that the header height is set to a smaller value for
> "Weight" and the font auto-scales to fit.
> could be a Win10 specific issue in Qt...
>

one of the differences i see is in the horizontal header context of
the two. the one of cylinders has actions.
attached is a test patch...

lubomir
--
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 446ad77..e97812c 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -160,6 +160,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
 		label->setContentsMargins(margins);
 	}
 	ui.cylinders->view()->horizontalHeader()->setContextMenuPolicy(Qt::ActionsContextMenu);
+	ui.weights->view()->horizontalHeader()->setContextMenuPolicy(Qt::ActionsContextMenu);
 
 	QSettings s;
 	s.beginGroup("cylinders_dialog");
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to