peacemaker Expert Licensed User Longtime User Dec 21, 2023 #1 Hi, All Maybe anyone solved the situation - at first window opening in B4J, without Resize event, the xChart view has the zoombar not at the bottom placed. And sometimes its Visible is false. Any help ?
Hi, All Maybe anyone solved the situation - at first window opening in B4J, without Resize event, the xChart view has the zoombar not at the bottom placed. And sometimes its Visible is false. Any help ?
klaus Expert Licensed User Longtime User Dec 21, 2023 #2 Can you please post a small project showing the problem ? Upvote 0
peacemaker Expert Licensed User Longtime User Dec 21, 2023 #3 Hi, klaus. My project is huge now and, seems, i have solved now so: B4X: Private Sub B4XPage_Created (Root1 As B4XView) ... ... DynamicLines1.Width = 500dip 'pre-resize specially End Sub Without this pre-resizing the first window looked so: If to make first opening on smaller resized window - the zoombar is located OK, but invisible: Upvote 0
Hi, klaus. My project is huge now and, seems, i have solved now so: B4X: Private Sub B4XPage_Created (Root1 As B4XView) ... ... DynamicLines1.Width = 500dip 'pre-resize specially End Sub Without this pre-resizing the first window looked so: If to make first opening on smaller resized window - the zoombar is located OK, but invisible:
peacemaker Expert Licensed User Longtime User Dec 21, 2023 #4 Ha ! Pre-resizing does not help with second situation of invisibility Upvote 0
klaus Expert Licensed User Longtime User Dec 21, 2023 #5 Without seeing your code i cannot help. Upvote 0
peacemaker Expert Licensed User Longtime User Dec 21, 2023 #6 SOLVED: once Base_Resize should be called: B4X: DynamicLines1.SetZoomIndexes(Min(ZoomBeginIndex, ZoomEndIndex), Max(ZoomBeginIndex, ZoomEndIndex)) DynamicLines1.Base_Resize(chart_container.Width, chart_container.Height) Upvote 0
SOLVED: once Base_Resize should be called: B4X: DynamicLines1.SetZoomIndexes(Min(ZoomBeginIndex, ZoomEndIndex), Max(ZoomBeginIndex, ZoomEndIndex)) DynamicLines1.Base_Resize(chart_container.Width, chart_container.Height)