Related: fdo#87876 make checkbox label shorter, move warning into tooltip

Change-Id: I5f24703db70b53306d618d8fb89ad4a468d1a5f9
This commit is contained in:
Caolán McNamara
2015-02-09 09:42:18 +00:00
parent 92db2f17b3
commit 110751e541
2 changed files with 3 additions and 13 deletions

View File

@@ -627,18 +627,7 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
get(m_pUseHardwareAccell, "useaccel");
get(m_pUseAntiAliase, "useaa");
get(m_pUseOpenGL, "useopengl");
get(m_pForceOpenGL, "forceopengl");
//fdo#87876 , we need height-for-width support here, but for now we can
//bodge it
Size aPrefSize(m_pForceOpenGL->get_preferred_size());
Size aSize(m_pForceOpenGL->CalcMinimumSize(40*approximate_char_width()));
if (aPrefSize.Width() > aSize.Width())
{
m_pForceOpenGL->set_width_request(aSize.Width());
m_pForceOpenGL->set_height_request(aSize.Height());
}
get(m_pMousePosLB, "mousepos");
get(m_pMouseMiddleLB, "mousemiddle");
// #i97672#

View File

@@ -97,11 +97,12 @@
</packing>
</child>
<child>
<object class="GtkCheckButton" id="forceopengl:wrap">
<property name="label" translatable="yes">Force OpenGL even if blacklisted (might expose driver bugs)</property>
<object class="GtkCheckButton" id="forceopengl">
<property name="label" translatable="yes">Force OpenGL even if blacklisted</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Enabling this may expose driver bugs</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
</object>