diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-20 13:47:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-20 13:47:24 +0000 |
commit | 631ff4582706ef0535222a10c211e56f5a546fc8 (patch) | |
tree | bc0a5fc2dbac8ed2c1161a1bf377267933450930 /cui/source | |
parent | 4999a4b5376a4af26e106b303a9b334f1170ff9d (diff) |
remove ugly padding on empty rows
Change-Id: Ie29bb736343e854865aa0eda4dae031931d30d0d
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optgenrl.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx index 812278b2ccfd..3da87b0f34c1 100644 --- a/cui/source/options/optgenrl.cxx +++ b/cui/source/options/optgenrl.cxx @@ -200,6 +200,11 @@ public: : iField(iField_) , pEdit(pEdit_) { + //We want all widgets inside a container, so each row of the toplevel + //grid has another container in it. To avoid adding spacing to these + //empty grids they all default to invisible, so show them if their + //children are visibles + pEdit->GetParent()->Show(); pEdit->Show(); } }; |