Commit bdcfa2e97c562c936120b14f25f4363f094c51a0
1 parent
59755bce
Show the version information in white so it's more visible
Change-Id: I4da98841c20d2729b494e10fdc8cc1f6acbea786
Showing
1 changed file
with
5 additions
and
3 deletions
shared/dali-table-view.cpp
| 1 | 1 | /* |
| 2 | - * Copyright (c) 2017 Samsung Electronics Co., Ltd. | |
| 2 | + * Copyright (c) 2019 Samsung Electronics Co., Ltd. | |
| 3 | 3 | * |
| 4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | 5 | * you may not use this file except in compliance with the License. |
| ... | ... | @@ -896,12 +896,14 @@ void DaliTableView::OnLogoTapped( Dali::Actor actor, const Dali::TapGesture& tap |
| 896 | 896 | |
| 897 | 897 | Toolkit::TextLabel titleActor = Toolkit::TextLabel::New( "Version information" ); |
| 898 | 898 | titleActor.SetName( "titleActor" ); |
| 899 | - titleActor.SetProperty( Toolkit::TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER" ); | |
| 899 | + titleActor.SetProperty( Toolkit::TextLabel::Property::HORIZONTAL_ALIGNMENT, HorizontalAlignment::CENTER ); | |
| 900 | + titleActor.SetProperty( Toolkit::TextLabel::Property::TEXT_COLOR, Color::WHITE ); | |
| 900 | 901 | |
| 901 | 902 | Toolkit::TextLabel contentActor = Toolkit::TextLabel::New( stream.str() ); |
| 902 | 903 | contentActor.SetName( "contentActor" ); |
| 903 | 904 | contentActor.SetProperty( Toolkit::TextLabel::Property::MULTI_LINE, true ); |
| 904 | - contentActor.SetProperty( Toolkit::TextLabel::Property::HORIZONTAL_ALIGNMENT, "CENTER" ); | |
| 905 | + contentActor.SetProperty( Toolkit::TextLabel::Property::HORIZONTAL_ALIGNMENT, HorizontalAlignment::CENTER ); | |
| 906 | + contentActor.SetProperty( Toolkit::TextLabel::Property::TEXT_COLOR, Color::WHITE ); | |
| 905 | 907 | contentActor.SetPadding( Padding( 0.0f, 0.0f, 20.0f, 0.0f ) ); |
| 906 | 908 | |
| 907 | 909 | mVersionPopup.SetTitle( titleActor ); | ... | ... |