summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-12-13 09:28:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-12-14 20:34:52 +0100
commit48e8dda3f64079d7a1dd7f87b45ed8288779950a (patch)
tree9b4d89f1fb2793b5b5e4fc7cea0b1707657bc31c /cui/source/inc
parent04ad06533c933b2190b05f42beb50d85a795c3c6 (diff)
size group is ignoring hidden widgets, leading to labels overlapping entries
https://developer.gnome.org/gtk3/stable/GtkSizeGroup.html#gtk-size-group-set-ignore-hidden "Measuring the size of hidden widgets ... they will report a size of 0 nowadays, and thus, their size will not affect the other size group members" Which is unfortunate. So before we hide any labels, take the size group width and set it as explicit preferred size. Change-Id: If7c0f1ebd9f03914c74fde85b876549de76853c2 Reviewed-on: https://gerrit.libreoffice.org/85098 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/hlinettp.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/source/inc/hlinettp.hxx b/cui/source/inc/hlinettp.hxx
index 88020df12c54..115e1e428a47 100644
--- a/cui/source/inc/hlinettp.hxx
+++ b/cui/source/inc/hlinettp.hxx
@@ -39,6 +39,7 @@ private:
std::unique_ptr<weld::RadioButton> m_xRbtLinktypInternet;
std::unique_ptr<weld::RadioButton> m_xRbtLinktypFTP;
std::unique_ptr<SvxHyperURLBox> m_xCbbTarget;
+ std::unique_ptr<weld::Label> m_xFtTarget;
std::unique_ptr<weld::Label> m_xFtLogin;
std::unique_ptr<weld::Entry> m_xEdLogin;
std::unique_ptr<weld::Label> m_xFtPassword;