Kaydet (Commit) b3de4693 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

sidebar conversion tutorial: Cleanup - remove calls of SetOutputSizePixel().

Change-Id: I942c52488e038dd3b91296596dd2ea7b75c54eb2
üst 07b0ad4f
...@@ -99,17 +99,9 @@ AlignmentPropertyPanel::~AlignmentPropertyPanel() ...@@ -99,17 +99,9 @@ AlignmentPropertyPanel::~AlignmentPropertyPanel()
void AlignmentPropertyPanel::Initialize() void AlignmentPropertyPanel::Initialize()
{ {
Size aTbxSize( mpTBHorizontal->CalcWindowSizePixel() );
mpTBHorizontal->SetOutputSizePixel( aTbxSize );
mpTBHorizontal->SetBackground(Wallpaper());
mpTBHorizontal->SetPaintTransparent(true);
Link aLink = LINK(this, AlignmentPropertyPanel, TbxHorAlignSelectHdl); Link aLink = LINK(this, AlignmentPropertyPanel, TbxHorAlignSelectHdl);
mpTBHorizontal->SetSelectHdl ( aLink ); mpTBHorizontal->SetSelectHdl ( aLink );
Size aTbxSize2( mpTBVertical->CalcWindowSizePixel() );
mpTBVertical->SetOutputSizePixel( aTbxSize2 );
mpTBVertical->SetBackground(Wallpaper());
mpTBVertical->SetPaintTransparent(true);
aLink = LINK(this, AlignmentPropertyPanel, TbxVerAlignSelectHdl); aLink = LINK(this, AlignmentPropertyPanel, TbxVerAlignSelectHdl);
mpTBVertical->SetSelectHdl ( aLink ); mpTBVertical->SetSelectHdl ( aLink );
......
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