Just like we see in iphone.
As you can see in picture. Like this what i am satish to do.
But, Thanks for this beautiful extension and contribution to community.
Thanks for the update
Super
When we register a layout with CustomDialog.DialogBox
method, it shows the dialogue straight away. Instead it should make the registered arrangement invisible and should only be shown when .ShowDialogue
method is called. Somewhat like Kodular’s Custom dialogue method.
Second, what is the calculation for getting the dialogue, exactly in centre of the device’s screen? As dividing the screen’s height and width by 2 doesn’t center’s the dialogue
Yes, Agreed with the 1st point.
And I think instead of the value there must be there options like top, bottom, center.
Just like custom FAB Extension has, it would be more convenient.
my app is not responding after using the extension.
please help me
Pls share ur error if u wnt help.
there is no error.
sorry, i forget to visible the horizontal arrangement
Pls check I update aix. Now u can invisible dialog when u initialize dialog
Hello @varsha I just checked the update and now the dialogue becomes invisible on initialization as expected.
Though there are some points that I would like to mention
- the dialogue background color doesn’t becomes transparent
I used the following blocks to make transparent color but it remains to green(set from designer)
Look at below screenshot
There is a button at the bottom of the screen. I set the background color of the button as well as the dialogue(VA) to green from designer
And on screen initialization I made both of their background color to transparent using mentioned blocks.
The effect is seen on button background color but not on dialogue(VA)
- It would be good if you provide something like this to center the dialogue
If u wnt to set. Background transparent then set int 0
U can set the value x is horizantal and y is vertical for centre dialog and
It is possible to make block but i dint make block bez some one wnt to set dailog cornor,or top middle etc so this x and y is easy to set as per user choice
But this x and y seems to be more confusing as the calculation isn’t easy to get. Having blocks for the same is more preferable
I was also trying to figure out how to center the custom dialog as it might look different to different screen sizes (Although I’m not sure if it will).
This does not work:
Hello @varsha This version doesn’t contains any block to centre the dialogue. Any reason behind not providing the blocks?
In that version the Postion is Fixed at Center.
I think its the Original Extension before I asked to add the Position Feature to it.