[NUI] Fix button layout when resize policy is FillToParent and etc. (#2809)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Components / Theme / DefaultThemeCommon.cs
1 /*
2  * Copyright(c) 2021 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 #if !PROFILE_WEARABLE
18
19 using System.Diagnostics.CodeAnalysis;
20 using Tizen.NUI.BaseComponents;
21
22 namespace Tizen.NUI.Components
23 {
24     // It is a C# version of res/Tizen.NUI.Components_Tizen.NUI.Theme.Common.xaml
25     internal partial class DefaultThemeCreator : IThemeCreator
26     {
27         [SuppressMessage("Microsoft.Reliability", "CA2000: Dispose objects before losing scope", Justification = "The responsibility to dispose the object is transferred to the theme object.")]
28         public Theme Create()
29         {
30             var theme = new Theme()
31             {
32                 Id = Tizen.NUI.DefaultThemeCreator.DefaultId,
33                 Version = Tizen.NUI.DefaultThemeCreator.DefaultVersion
34             };
35
36             theme.AddStyleWithoutClone("Tizen.NUI.Components.Button", new ButtonStyle()
37             {
38                 Size = new Size(339, 96),
39                 CornerRadiusPolicy = VisualTransformPolicyType.Relative,
40                 CornerRadius = 0.2916f,
41                 ItemAlignment = LinearLayout.Alignment.Center,
42                 BackgroundColor = new Selector<Color>()
43                 {
44                     Normal = new Color(0.039f, 0.055f, 0.29f, 1),
45                     Pressed = new Color(0.106f, 0.412f, 0.792f, 1),
46                     Focused = new Color(0, 0.2f, 0.545f, 1),
47                     Disabled = new Color(0.765f, 0.792f, 0.824f, 1),
48                 },
49                 Text = new TextLabelStyle()
50                 {
51                     PixelSize = 32,
52                     TextColor = Color.White,
53                 }
54             });
55
56             theme.AddStyleWithoutClone("Tizen.NUI.Components.CheckBox", new ButtonStyle()
57             {
58                 ItemSpacing = new Size2D(32, 32),
59                 ItemAlignment = LinearLayout.Alignment.Begin,
60                 Icon = new ImageViewStyle()
61                 {
62                     Size = new Size(36, 36),
63                     ResourceUrl = new Selector<string>()
64                     {
65                         Normal = FrameworkInformation.ResourcePath + "IoT_check_off.svg",
66                         Pressed = FrameworkInformation.ResourcePath + "IoT_check_off_p.svg",
67                         Disabled = FrameworkInformation.ResourcePath + "IoT_check_off_d.svg",
68                         Focused = FrameworkInformation.ResourcePath + "IoT_check_off_f.svg",
69                         Selected = FrameworkInformation.ResourcePath + "IoT_check_on.svg",
70                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_check_on_p.svg",
71                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_check_on_f.svg",
72                         DisabledSelected = FrameworkInformation.ResourcePath + "IoT_check_on_d.svg",
73                     },
74                 },
75                 Text = new TextLabelStyle()
76                 {
77                     PixelSize = 32,
78                     TextColor = new Color("#001447")
79                 }
80             });
81
82             theme.AddStyleWithoutClone("Tizen.NUI.Components.Popup", new PopupStyle()
83             {
84                 Size = new Size(500, 280),
85                 BackgroundColor = new Color(0.9f, 0.9f, 0.9f, 1),
86                 ImageShadow = new ImageShadow()
87                 {
88                     Url = FrameworkInformation.ResourcePath + "nui_component_default_popup_shadow.png",
89                     Border = new Rectangle(24, 24, 24, 24),
90                     Extents = new Vector2(48, 48)
91                 },
92                 Title = new TextLabelStyle()
93                 {
94                     PointSize = 16,
95                     Padding = new Extents(20, 20, 20, 20),
96                 },
97                 Buttons = new ButtonStyle()
98                 {
99                     Size = new Size(0, 80),
100                     BackgroundColor = new Selector<Color>()
101                     {
102                         Normal = new Color(1, 1, 1, 1),
103                         Pressed = new Color(1, 1, 1, 0.5f),
104                     },
105                     Overlay = new ImageViewStyle()
106                     {
107                         BackgroundColor = new Selector<Color>()
108                         {
109                             Pressed = new Color(0, 0, 0, 0.1f),
110                             Other = new Color(1, 1, 1, 0.1f),
111                         },
112                     },
113                     Text = new TextLabelStyle()
114                     {
115                         TextColor = new Color(0.05f, 0.63f, 0.9f, 1),
116                     }
117                 }
118             });
119
120             theme.AddStyleWithoutClone("Tizen.NUI.Components.Progress", new ProgressStyle()
121             {
122                 Size = new Size(200, 5),
123                 Track = new ImageViewStyle()
124                 {
125                     BackgroundColor = new Color(0, 0, 0, 0.1f),
126                 },
127                 Buffer = new ImageViewStyle()
128                 {
129                     BackgroundColor = new Color(0.05f, 0.63f, 0.9f, 0.3f),
130                 },
131                 Progress = new ImageViewStyle()
132                 {
133                     BackgroundColor = new Color(0.05f, 0.63f, 0.9f, 1),
134                 },
135             });
136
137             theme.AddStyleWithoutClone("Tizen.NUI.Components.RadioButton", new ButtonStyle()
138             {
139                 ItemSpacing = new Size2D(32, 32),
140                 ItemAlignment = LinearLayout.Alignment.Begin,
141                 Icon = new ImageViewStyle()
142                 {
143                     Size = new Size(36, 36),
144                     ResourceUrl = new Selector<string>()
145                     {
146                         Normal = FrameworkInformation.ResourcePath + "IoT_radiobutton_off.svg",
147                         Pressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_p.svg",
148                         Disabled = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_d.svg",
149                         Focused = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_f.svg",
150                         Selected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on.svg",
151                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_p.svg",
152                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_f.svg",
153                         DisabledSelected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_d.svg",
154                     },
155                 },
156                 Text = new TextLabelStyle()
157                 {
158                     PixelSize = 32,
159                     TextColor = new Color("#001447")
160                 }
161             });
162
163             theme.AddStyleWithoutClone("Tizen.NUI.Components.Slider", new SliderStyle()
164             {
165                 Size = new Size(200, 50),
166                 TrackThickness = 5,
167                 Track = new ImageViewStyle()
168                 {
169                     BackgroundColor = new Color(0, 0, 0, 0.1f),
170                 },
171                 Progress = new ImageViewStyle()
172                 {
173                     BackgroundColor = new Color(0.5f, 0.63f, 0.9f, 1),
174                 },
175                 Thumb = new ImageViewStyle()
176                 {
177                     Size = new Size(50, 50),
178                     ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_slider_thumb_n.png",
179                     BackgroundImage = new Selector<string>()
180                     {
181                         Normal = FrameworkInformation.ResourcePath + "nui_component_default_slider_thumb_bg_p.png",
182                         Pressed = FrameworkInformation.ResourcePath + "nui_component_default_slider_thumb_bg_p.png",
183                     }
184                 },
185                 ValueIndicatorImage = new ImageViewStyle()
186                 {
187                     Size = new Size(83, 54),
188                     ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_slider_value_indicator.png",
189                 },
190             });
191
192             theme.AddStyleWithoutClone("Tizen.NUI.Components.Switch", new SwitchStyle()
193             {
194                 ItemSpacing = new Size2D(32, 32),
195                 ItemAlignment = LinearLayout.Alignment.Begin,
196                 Track = new ImageViewStyle()
197                 {
198                     Size = new Size(80, 40),
199                     ResourceUrl = new Selector<string>()
200                     {
201                         Normal = FrameworkInformation.ResourcePath + "IoT_switch_track_off.svg",
202                         Pressed = FrameworkInformation.ResourcePath + "IoT_switch_track_off_p.svg",
203                         Disabled = FrameworkInformation.ResourcePath + "IoT_switch_track_off_d.svg",
204                         Focused = FrameworkInformation.ResourcePath + "IoT_switch_track_off_f.svg",
205                         Selected = FrameworkInformation.ResourcePath + "IoT_switch_track_on.svg",
206                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_track_on_p.svg",
207                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_track_on_f.svg",
208                         DisabledSelected = FrameworkInformation.ResourcePath + "IoT_switch_track_on_d.svg",
209                     },
210                 },
211                 Thumb = new ImageViewStyle()
212                 {
213                     Size = new Size(40, 40),
214                     ResourceUrl = new Selector<string>()
215                     {
216                         Normal = FrameworkInformation.ResourcePath + "IoT_switch_thumb.svg",
217                         Disabled = FrameworkInformation.ResourcePath + "IoT_switch_thumb_d.svg",
218                         Selected = FrameworkInformation.ResourcePath + "IoT_switch_thumb_s.svg",
219                         SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sp.svg",
220                         SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sf.svg",
221                     }
222                 },
223                 Text = new TextLabelStyle()
224                 {
225                     PixelSize = 32,
226                     TextColor = new Color("#001447")
227                 }
228             });
229
230             theme.AddStyleWithoutClone("Tizen.NUI.Components.Loading", new LoadingStyle()
231             {
232                 LoadingSize = new Size(100, 100),
233             });
234
235             theme.AddStyleWithoutClone("Tizen.NUI.Components.Pagination", new PaginationStyle()
236             {
237                 IndicatorImageUrl = new Selector<string>()
238                 {
239                     Normal = FrameworkInformation.ResourcePath + "nui_component_default_pagination_normal_dot.png",
240                     Selected = FrameworkInformation.ResourcePath + "nui_component_default_pagination_focus_dot.png",
241                 },
242                 IndicatorSize = new Size(10, 10),
243             });
244
245             theme.AddStyleWithoutClone("Tizen.NUI.Components.Scrollbar", new ScrollbarStyle()
246             {
247                 TrackThickness = 6,
248                 ThumbThickness = 6,
249                 TrackColor = new Color(1, 1, 1, 0.15f),
250                 ThumbColor = new Color(0.6f, 0.6f, 0.6f, 1.0f),
251                 TrackPadding = 4
252             });
253
254             theme.AddStyleWithoutClone("Tizen.NUI.Components.RecyclerViewItem", new RecyclerViewItemStyle()
255             {
256                 BackgroundColor = new Selector<Color>()
257                 {
258                     Normal = new Color(1, 1, 1, 1),
259                     Pressed = new Color(0.85f, 0.85f, 0.85f, 1),
260                     Disabled = new Color(0.70f, 0.70f, 0.70f, 1),
261                     Selected = new Color(0.701f, 0.898f, 0.937f, 1),
262                 },
263             });
264
265             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultLinearItem", new DefaultLinearItemStyle()
266             {
267                 SizeHeight = 108,
268                 Padding = new Extents(64, 64, 18, 17),
269                 BackgroundColor = new Selector<Color>()
270                 {
271                     Normal = new Color(1, 1, 1, 1),
272                     Pressed = new Color(0.85f, 0.85f, 0.85f, 1),
273                     Disabled = new Color(0.70f, 0.70f, 0.70f, 1),
274                     Selected = new Color(0.85f, 0.85f, 0.85f, 1),
275                 },
276                 Label = new TextLabelStyle()
277                 {
278                     PixelSize = 32,
279                     Ellipsis = true,
280                     FontFamily = "BreezeSans", //FXIME Font Weight is Light
281                     TextColor = new Color("#001447FF"),
282                 },
283                 SubLabel = new TextLabelStyle()
284                 {
285                     PixelSize = 28,
286                     Ellipsis = true,
287                     FontFamily = "BreezeSans",
288                     TextColor = new Color("#001447FF"),
289                 },
290                 Icon = new ViewStyle()
291                 {
292                     Margin = new Extents(0, 32, 0, 0)
293                 },
294                 Extra = new ViewStyle()
295                 {
296                     Margin = new Extents(32, 0, 0, 0)
297                 },
298                 Seperator = new ViewStyle()
299                 {
300                     SizeHeight = 1,
301                     Margin = new Extents(64, 64, 0, 0),
302                     BackgroundColor = new Color("#C3CAD2FF"),
303                 },
304             });
305             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultGridItem", new DefaultGridItemStyle()
306             {
307                 Padding = new Extents(5, 5, 5, 5),
308                 Caption = new TextLabelStyle()
309                 {
310                     SizeHeight = 60,
311                     PixelSize = 24,
312                     LineWrapMode = LineWrapMode.Character,
313                 },
314                 Badge = new ViewStyle()
315                 {
316                     Margin = new Extents(5, 5, 5, 5),
317                 },
318             });
319
320             theme.AddStyleWithoutClone("Tizen.NUI.Components.DefaultTitleItem", new DefaultTitleItemStyle()
321             {
322                 SizeHeight = 60,
323                 Padding = new Extents(64, 64, 12, 12),
324                 BackgroundColor = new Selector<Color>()
325                 {
326                     Normal = new Color("#EEEEF1FF"),
327                 },
328                 Label = new TextLabelStyle()
329                 {
330                     PixelSize = 28,
331                     Ellipsis = true,
332                     TextColor = new Color("#001447FF"),
333                 },
334                 Icon = new ViewStyle()
335                 {
336                     Margin = new Extents(40, 0, 0, 0)
337                 },
338                 Seperator = new ViewStyle()
339                 {
340                     Margin = new Extents(0, 0, 0, 0),
341                     BackgroundColor = new Color(0, 0, 0, 0),
342                 },
343             });
344
345             theme.AddStyleWithoutClone("Tizen.NUI.Components.AppBar", new AppBarStyle()
346             {
347                 Size = new Size(-1, 120),
348                 BackgroundColor = new Color("#EEEFF1FF"),
349                 BackButton = new ButtonStyle()
350                 {
351                     Size = new Size(48, 48),
352                     CornerRadius = 0,
353                     BackgroundColor = new Color(0, 0, 0, 0),
354                     Icon = new ImageViewStyle()
355                     {
356                         Size = new Size(48, 48),
357                         ResourceUrl = FrameworkInformation.ResourcePath + "nui_component_default_back_button.png",
358                         Color = new Selector<Color>()
359                         {
360                             Normal = new Color("#0A0E4AFF"),
361                             Focused = new Color("#00338BFF"),
362                             Pressed = new Color("#1B69CAFF"),
363                             Disabled = new Color("#C3CAD2FF"),
364                         },
365                     },
366                 },
367                 TitleTextLabel = new TextLabelStyle()
368                 {
369                     PixelSize = 40,
370                     VerticalAlignment = VerticalAlignment.Center,
371                     TextColor = new Selector<Color>()
372                     {
373                         Normal = new Color("#000C2BFF"),
374                     }
375                 },
376                 ActionView = new ViewStyle()
377                 {
378                     Size = new Size(-1, 48),
379                     CornerRadius = 0,
380                     BackgroundColor = new Color(0, 0, 0, 0),
381                 },
382                 ActionButton = new ButtonStyle()
383                 {
384                     Size = new Size(-1, 48),
385                     CornerRadius = 0,
386                     BackgroundColor = new Color(0, 0, 0, 0),
387                     Text = new TextLabelStyle()
388                     {
389                         PixelSize = 26,
390                         TextColor = new Selector<Color>()
391                         {
392                             Normal = new Color("#0A0E4AFF"),
393                             Focused = new Color("#00338BFF"),
394                             Pressed = new Color("#1B69CAFF"),
395                             Disabled = new Color("#C3CAD2FF"),
396                         },
397                     },
398                     Icon = new ImageViewStyle()
399                     {
400                         Size = new Size(-1, 48),
401                         Color = new Selector<Color>()
402                         {
403                             Normal = new Color("#0A0E4AFF"),
404                             Focused = new Color("#00338BFF"),
405                             Pressed = new Color("#1B69CAFF"),
406                             Disabled = new Color("#C3CAD2FF"),
407                         },
408                     },
409                 },
410                 Padding = new Extents(64, 64, 0, 0),
411                 NavigationPadding = new Extents(0, 24, 0, 0),
412                 ActionPadding = new Extents(40, 0, 0, 0),
413                 ActionCellPadding = new Size2D(40, 0),
414             });
415
416             theme.AddStyleWithoutClone("Tizen.NUI.Components.Picker", new PickerStyle()
417             {
418                 Size = new Size(160, 339),
419                 ItemTextLabel = new TextLabelStyle()
420                 {
421                     //FIXME: Should be check PointSize. given size from UX is too large.
422                     PixelSize = 32,
423                     VerticalAlignment = VerticalAlignment.Center,
424                     HorizontalAlignment = HorizontalAlignment.Center,
425                     Size = new Size(0,72),
426                     TextColor = new Selector<Color>()
427                     {
428                         Normal = new Color("#000C2BFF"),
429                     },
430                     BackgroundColor = Color.White,
431                 },
432                 Divider = new ViewStyle()
433                 {
434                     SizeHeight = 2.0f,
435                     WidthResizePolicy = ResizePolicyType.FillToParent,
436                     Position = new Position(0, 132),
437                     BackgroundColor = new Color("#0A0E4AFF"),
438                 },
439                 StartScrollOffset = new Size(0, 12),
440             });
441
442             theme.AddStyleWithoutClone("Tizen.NUI.Components.TabButton", new TabButtonStyle()
443             {
444                 Size = new Size(-1, 84),
445                 CornerRadius = 0,
446                 BackgroundColor = Color.White,
447                 Text = new TextLabelStyle()
448                 {
449                     PixelSize = 28,
450                     Size = new Size(-2, -2),
451                     TextColor = new Selector<Color>()
452                     {
453                         Normal = new Color("#000C2BFF"),
454                         Selected = new Color("#000C2BFF"),
455                         Pressed = new Color("#1473E6FF"),
456                         Disabled = new Color("#C3CAD2FF"),
457                     },
458                 },
459                 Icon = new ImageViewStyle()
460                 {
461                     Size = new Size(48, 48),
462                     Color = new Selector<Color>()
463                     {
464                         Normal = new Color("#000C2BFF"),
465                         Selected = new Color("#000C2BFF"),
466                         Pressed = new Color("#1473E6FF"),
467                         Disabled = new Color("#C3CAD2FF"),
468                     },
469                 },
470                 TopLine = new ViewStyle()
471                 {
472                     Size = new Size(-1, 1),
473                     BackgroundColor = new Selector<Color>()
474                     {
475                         Normal = new Color("#000C2BFF"),
476                         Selected = new Color("#000C2BFF"),
477                         Pressed = new Color("#1473E6FF"),
478                         Disabled = new Color("#C3CAD2FF"),
479                     },
480                 },
481                 BottomLine = new ViewStyle()
482                 {
483                     Size = new Size(-1, 8),
484                     Position = new Position(0, 76), // 84 - 8
485                     BackgroundColor = new Selector<Color>()
486                     {
487                         Normal = Color.Transparent,
488                         Selected = new Color("#000C2BFF"),
489                         Pressed = new Color("#1473E6FF"),
490                         Disabled = Color.Transparent,
491                     },
492                 },
493             });
494
495             theme.AddStyleWithoutClone("NotificationToast", new TextLabelStyle()
496             {
497                 BackgroundImage = FrameworkInformation.ResourcePath + "IoT_Toast_1.png",
498                 BackgroundImageBorder = new Rectangle(28, 28, 28, 28),
499                 TextColor = new Color("#000C2B"),
500                 PixelSize = 32,
501                 WidthResizePolicy = ResizePolicyType.UseNaturalSize,
502                 HeightResizePolicy = ResizePolicyType.UseNaturalSize,
503                 PositionUsesPivotPoint = true,
504                 HorizontalAlignment = HorizontalAlignment.Center,
505                 VerticalAlignment = VerticalAlignment.Center,
506                 Padding = new Extents(40, 40, 24, 24),
507                 PositionY = 120,
508             });
509
510             theme.AddStyleWithoutClone("Tizen.NUI.Components.AlertDialog", new AlertDialogStyle()
511             {
512                 Size = new Size(-2, -2),
513                 Padding = new Extents(80, 80, 0, 0),
514                 BackgroundImage = FrameworkInformation.ResourcePath + "nui_component_default_dialog_bg.#.png",
515                 TitleTextLabel = new TextLabelStyle()
516                 {
517                     Size = new Size(1024, -2),
518                     Margin = new Extents(0, 0, 40, 40),
519                     PixelSize = 40,
520                     HorizontalAlignment = HorizontalAlignment.Center,
521                     VerticalAlignment = VerticalAlignment.Center,
522                     TextColor = new Selector<Color>()
523                     {
524                         Normal = new Color("#000C2BFF"),
525                     },
526                 },
527                 MessageTextLabel = new TextLabelStyle()
528                 {
529                     Size = new Size(1024, -2),
530                     Margin = new Extents(0, 0, 0, 64),
531                     PixelSize = 32,
532                     MultiLine = true,
533                     HorizontalAlignment = HorizontalAlignment.Center,
534                     VerticalAlignment = VerticalAlignment.Center,
535                     TextColor = new Selector<Color>()
536                     {
537                         Normal = new Color("#000C2BFF"),
538                     },
539                 },
540                 ActionContent = new ViewStyle()
541                 {
542                     Size = new Size(1024, -2),
543                 },
544             });
545
546             theme.AddStyleWithoutClone("Tizen.NUI.Components.TimePicker", new TimePickerStyle()
547             {
548                 CellPadding = new Size(50, 339),
549
550                 Pickers = new PickerStyle()
551                 {
552                     Size = new Size(160, 339),
553                     ItemTextLabel = new TextLabelStyle()
554                     {
555                         //FIXME: Should be check PointSize. given size from UX is too large.
556                         PixelSize = 32,
557                         VerticalAlignment = VerticalAlignment.Center,
558                         HorizontalAlignment = HorizontalAlignment.Center,
559                         Size = new Size(0,72),
560                         TextColor = new Selector<Color>()
561                         {
562                             Normal = new Color("#000C2BFF"),
563                         },
564                         BackgroundColor = Color.White,
565                     },
566                     Divider = new ViewStyle()
567                     {
568                         SizeHeight = 2.0f,
569                         WidthResizePolicy = ResizePolicyType.FillToParent,
570                         Position = new Position(0, 132),
571                         BackgroundColor = new Color("#0A0E4AFF"),
572                     },
573                     StartScrollOffset = new Size2D(0, 12),
574                 }
575             });
576
577             theme.AddStyleWithoutClone("Tizen.NUI.Components.DatePicker", new DatePickerStyle()
578             {
579                 CellPadding = new Size(50, 339),
580
581                 Pickers = new PickerStyle()
582                 {
583                     Size = new Size(160, 339),
584                     ItemTextLabel = new TextLabelStyle()
585                     {
586                         //FIXME: Should be check PointSize. given size from UX is too large.
587                         PixelSize = 32,
588                         VerticalAlignment = VerticalAlignment.Center,
589                         HorizontalAlignment = HorizontalAlignment.Center,
590                         Size = new Size(0,72),
591                         TextColor = new Selector<Color>()
592                         {
593                             Normal = new Color("#000C2BFF"),
594                         },
595                         BackgroundColor = Color.White,
596                     },
597                     Divider = new ViewStyle()
598                     {
599                         SizeHeight = 2.0f,
600                         WidthResizePolicy = ResizePolicyType.FillToParent,
601                         Position = new Position(0, 132),
602                         BackgroundColor = new Color("#0A0E4AFF"),
603                     },
604                     StartScrollOffset = new Size2D(0, 12),
605                 }
606             });
607
608             return theme;
609         }
610     }
611 }
612
613 #endif