Kaydet (Commit) 110751e5 authored tarafından Caolán McNamara's avatar Caolán McNamara

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

Change-Id: I5f24703db70b53306d618d8fb89ad4a468d1a5f9
üst 92db2f17
...@@ -627,18 +627,7 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const SfxItemSet& rSet) ...@@ -627,18 +627,7 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
get(m_pUseHardwareAccell, "useaccel"); get(m_pUseHardwareAccell, "useaccel");
get(m_pUseAntiAliase, "useaa"); get(m_pUseAntiAliase, "useaa");
get(m_pUseOpenGL, "useopengl"); get(m_pUseOpenGL, "useopengl");
get(m_pForceOpenGL, "forceopengl"); 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_pMousePosLB, "mousepos");
get(m_pMouseMiddleLB, "mousemiddle"); get(m_pMouseMiddleLB, "mousemiddle");
// #i97672# // #i97672#
......
...@@ -97,11 +97,12 @@ ...@@ -97,11 +97,12 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkCheckButton" id="forceopengl:wrap"> <object class="GtkCheckButton" id="forceopengl">
<property name="label" translatable="yes">Force OpenGL even if blacklisted (might expose driver bugs)</property> <property name="label" translatable="yes">Force OpenGL even if blacklisted</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">False</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="xalign">0</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
</object> </object>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment