"fix" für die breit , da die app zu klein ist .
WndCommunication.cpp(CWndLinkedItem::OnDraw )
letzte Zeile von
Code:
this->SetWndSize(this->GetWndRect().Width(), 100 + p2DRender->m_pFont->GetTextExtent(strEdit).cy);
zu
Code:
this->SetWndSize(5 + p2DRender->m_pFont->GetTextExtent(strEdit).cx, 100 + p2DRender->m_pFont->GetTextExtent(strEdit).cy);
die 5 kann man ändern jegrößer dest breiter
und das
Code:
m_p2DRender->TextOut_EditString(rectItem.left - 70, rectItem.bottom + 15, strEdit);
zu
Code:
m_p2DRender->TextOut_EditString(rectItem.left - 30, rectItem.bottom + 15, strEdit);
resData.h:
Code:
#define APP_TOOLTIP_LINKEDITEM 2020
ResData.inc (v15)
Code:
APP_TOOLTIP_LINKEDITEM "WndTile00.tga" 1 128 96 0x2410000 21
{
// Title String
"Item Linking"
}
{
// Help Key
"Item Linking"
}
{
WTYPE_CUSTOM WIDC_CUSTOM1 "" 0 38 8 70 40 0x260000 0 0 0 0
{
// Title String
""
}
{
// ToolTip
""
}
ResData.inc (v16)
Code:
APP_TOOLTIP_LINKEDITEM "WndTile00.tga" "" 1 128 96 0x2410000 21
{
// Title String
"Item Linking"
}
{
// Help Key
"Item Linking"
}
{
WTYPE_CUSTOM WIDC_CUSTOM1 "" 0 38 8 70 40 0x260000 0 0 0 0
{
// Title String
""
}
{
// ToolTip
""
}