[Gambas-user] Moving modal form if width derived from style.css
    Safiur Rahman 
    isafiur at gmail.com
       
    Fri Sep 24 10:20:40 CEST 2021
    
    
  
Hi Benoît
I want to move a modal form to top centre from its actual centre
position. When I move the form as:
Public Sub _new()
  Me.Move("calc(50vw - " & Me.Width & " * 0.5)", "0px")
End
The form moves to top centre if form width is specified in property.
The form doesnot move to top centre if form width is derived from
style.css using class property.
How can I move the form to top centre if form width is derived from css?
(Attached a project to replicate the problem)
-- 
Regards
Safiur Rahman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webtest.tar.xz
Type: application/x-xz
Size: 12628 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210924/44fc70ee/attachment-0001.xz>
    
    
More information about the User
mailing list