0
I’m having trouble defining the height (Height) for a Tmultiview that is set to "arise" from bottom to top (property DrawerOptions -> Placement = Bottom
). My Android app gets the screen horizontal (I force it to stay horizontal) and I need Multiview to appear at the bottom The problem is that even setting Height = 50 (for example), it always takes on another much higher value.
How do I fix it?
since you define that it should align with bottom and then force the horizontal, it would not be the case to set it to align the left?
– Junior Moreira
I don’t understand what you mean. The app runs horizontally, so Bottom remains the bottom. If I align on Left, Multiview will necessarily appear from the left of the application as it should, it is not?
– wBB
Just to add, I’ve already managed to make the Multiview appear on the bottom. What I can’t do is keep Height at the value I’ve set, because after compiling it is self-confident.
– wBB
blocks the code for us to scan?
– Junior Moreira
There is no code... just put a Tmultiview on the screen and set the alignment properties. In my case, I’m asking the Multiview to align with Bottom in a horizontal window and this is happening smoothly. What I’m unable to do is limit the Height property of Multiview to 100px. In design time is OK, but after compiling it gets another size larger.
– wBB
You need code buddy,
Design
is a thing,Execução
is another!– Junior Moreira
@Junior, I didn’t see that coming. The component was not respecting the value set in the Height property at design time... I had never seen it! I was a developer years ago, using Delphi 7 when it was the best version of all, then I dropped out and came back to need it now with the Delphi 10 version and I’m very surprised by this behavior. But OK. Solved the problem setando Height = 100 (for example) at runtime. Thank you!
– wBB