mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-06-11 04:53:45 +00:00
增加Tooltip通过TitleLabelStyle的TextStyle的Alignment设置标题的对齐方式 (#363)
This commit is contained in:
@@ -260,6 +260,7 @@ namespace XCharts.Runtime
|
||||
view.layout.childControlWidth = false;
|
||||
view.layout.childForceExpandHeight = false;
|
||||
view.layout.childForceExpandWidth = false;
|
||||
view.layout.childAlignment = tooltip.titleLabelStyle.textStyle.alignment;
|
||||
view.layout.padding = new RectOffset(tooltip.paddingLeftRight,
|
||||
tooltip.paddingLeftRight,
|
||||
tooltip.paddingTopBottom,
|
||||
|
||||
Reference in New Issue
Block a user