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

Resolves: fdo#79227 labels are truncated

Change-Id: I9d5cd9491325aab6c844c889bf4db6baab2e75c8
üst 893d5f99
......@@ -216,15 +216,13 @@ BibToolBar::BibToolBar(Window* pParent, Link aLink, WinBits nStyle):
aEdQuery.Show();
OUString aStr=GetItemText(TBC_FT_SOURCE);
Rectangle aRect=GetItemRect(TBC_FT_SOURCE);
aFtSource.SetText(aStr);
aFtSource.SetSizePixel(aRect.GetSize());
aFtSource.SetSizePixel(aFtSource.get_preferred_size());
aFtSource.SetBackground(Wallpaper( COL_TRANSPARENT ));
aStr=GetItemText(TBC_FT_QUERY);
aRect=GetItemRect(TBC_FT_QUERY);
aFtQuery.SetText(aStr);
aFtQuery.SetSizePixel(aRect.GetSize());
aFtQuery.SetSizePixel(aFtQuery.get_preferred_size());
aFtQuery.SetBackground(Wallpaper( COL_TRANSPARENT ));
SetItemWindow(TBC_FT_SOURCE,&aFtSource);
......
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