Im going to Share The combobox fix of Caja :)
If you want extended /ci(createitem): [Only registered and activated users can see links. Click Here To Register...]
WndControl.cpp
Search for:
Replace by:
.
.
To edit Height of combo box:
Picture:
[Only registered and activated users can see links. Click Here To Register...]
Credits: 99.99% Caja
00.01% Me :p
If you want extended /ci(createitem): [Only registered and activated users can see links. Click Here To Register...]
WndControl.cpp
Search for:
Code:
int CWndComboBox::AddString( LPCTSTR lpszString )
{
int nNum = m_wndListBox.AddString( lpszString );
CRect rect = m_wndListBox.GetWindowRect( TRUE );
rect.bottom = rect.top + ( ( nNum + 1 ) * ( m_pFont->GetMaxHeight() + 3 ) ) + 8;
m_wndListBox.SetWndRect( rect );
return nNum;
}
Code:
int CWndComboBox::AddString( LPCTSTR lpszString )
{
int nNum = m_wndListBox.AddString( lpszString );
CRect rect = m_wndListBox.GetWindowRect( TRUE );
if(nNum > 10)
nNum = 10;
DEBUG_ONLY(IRALog::GetInstance()->Debug("CWndComboBox::AddString : nNum[%d]", nNum));
rect.bottom = rect.top + ( ( nNum + 1 ) * ( m_pFont->GetMaxHeight() + 3 ) ) + 8;
m_wndListBox.SetWndRect( rect );
return nNum;
}
.
To edit Height of combo box:
Code:
nNum > 10 nNum = 10 Replace 10 what ever you wan't its either 15 or 20
[Only registered and activated users can see links. Click Here To Register...]
Credits: 99.99% Caja
00.01% Me :p