Kaydet (Commit) 73e4a5d0 authored tarafından Caolán McNamara's avatar Caolán McNamara

give refedit in formula wizard an initial size

Change-Id: I8e19c29c47dea2f7cff754e81ef51fc9898fdee8
üst c842486a
......@@ -1402,8 +1402,13 @@ void FormulaDlg_Impl::UpdateSelection()
pMEdit->SetSelection(aSel);
m_pMEFormula->UpdateOldSel();
}
::std::pair<RefButton*,RefEdit*> FormulaDlg_Impl::RefInputStartBefore( RefEdit* pEdit, RefButton* pButton )
{
//because its initially hidden, give it its optimal
//size so clicking the refbutton has an initial
//size to work work when retro-fitting this to .ui
m_pEdRef->SetSizePixel(m_pEdRef->GetOptimalSize());
m_pEdRef->Show();
pTheRefEdit = pEdit;
pTheRefButton = pButton;
......
......@@ -440,6 +440,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="width_chars">60</property>
</object>
<packing>
<property name="left_attach">0</property>
......
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