I have tried the following code. which aligns the framed layout above the tab widget but it still didn\'t work
The solution which finally worked for is the following: