diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-03-15 10:55:34 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-03-15 10:35:25 +0000 |
commit | e26b5b4fb7e9146fb142422dbc3061c346935cfc (patch) | |
tree | 86b46a1251206efafaf5fd6b07666ee06889b33f /xmlsecurity/source | |
parent | c9da7f6bfe25d217fe3fdd09b82b95e9491cd8e3 (diff) |
gpg4libre: Improve certificate details view
* Remove SQL Syntax highlighting
* Add a vertical scrollbar if neccessary
Change-Id: Ib1de2694761ef650ccef16a5b5773c7be0602682
Reviewed-on: https://gerrit.libreoffice.org/35210
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r-- | xmlsecurity/source/dialogs/certificateviewer.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmlsecurity/source/dialogs/certificateviewer.cxx b/xmlsecurity/source/dialogs/certificateviewer.cxx index a2dfa814cefd..7361e253c614 100644 --- a/xmlsecurity/source/dialogs/certificateviewer.cxx +++ b/xmlsecurity/source/dialogs/certificateviewer.cxx @@ -228,11 +228,14 @@ CertificateViewerDetailsTP::CertificateViewerDetailsTP( vcl::Window* _pParent, C ,m_aFixedWidthFont( OutputDevice::GetDefaultFont( DefaultFontType::UI_FIXED, LANGUAGE_DONTKNOW, GetDefaultFontFlags::OnlyOne, this ) ) { get( m_pValueDetails, "valuedetails" ); + WinBits nStyle = m_pValueDetails->GetStyle(); + nStyle |= WB_AUTOVSCROLL; + m_pValueDetails->SetStyle(nStyle); get( m_pElementsLBContainer, "tablecontainer" ); m_pElementsLB = VclPtr<SvSimpleTable>::Create( *m_pElementsLBContainer ); m_aStdFont = m_pValueDetails->GetControlFont(); - WinBits nStyle = m_pElementsLB->GetStyle(); + nStyle = m_pElementsLB->GetStyle(); nStyle &= ~WB_HSCROLL; m_pElementsLB->SetStyle( nStyle ); |