Skip to content
Snippets Groups Projects
Commit 1e1d38d6 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

honor deltaFontSize in tree

parent 9f0c0ad2
No related branches found
No related tags found
No related merge requests found
...@@ -1220,6 +1220,8 @@ Fl_Widget *onelabGroup::_addParameterWidget(onelab::function &p, Fl_Tree_Item *n ...@@ -1220,6 +1220,8 @@ Fl_Widget *onelabGroup::_addParameterWidget(onelab::function &p, Fl_Tree_Item *n
void onelabGroup::rebuildTree() void onelabGroup::rebuildTree()
{ {
FL_NORMAL_SIZE -= CTX::instance()->deltaFontSize;
_computeWidths(); _computeWidths();
std::set<std::string> closed = _getClosedGmshMenus(); std::set<std::string> closed = _getClosedGmshMenus();
...@@ -1295,6 +1297,8 @@ void onelabGroup::rebuildTree() ...@@ -1295,6 +1297,8 @@ void onelabGroup::rebuildTree()
_tree->redraw(); _tree->redraw();
FL_NORMAL_SIZE += CTX::instance()->deltaFontSize;
FlGui::check(); // necessary e.g. on windows to avoid "ghosting" FlGui::check(); // necessary e.g. on windows to avoid "ghosting"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment