- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
P2: Important
 - 
    6.8.0
 
- 
        
 - 
        30d90b4cc (dev), 47ae9e4c2 (6.8), 87c6d142d (dev), 18b01267a (6.8), 621b44ba5 (tqtc/lts-6.5)
 
A simple submenu does not align correctly when using rtl mode (`-reverse`):
QMainWindow mw; auto a1 = new QAction("Action 1"); a1->setIcon(QIcon(":/myicon.png")); auto a2 = new QAction("Act 2"); a2->setCheckable(true); auto menu = mw.menuBar()->addMenu("Menu"); menu->addAction(a1); menu->addAction(a2); auto submenu = menu->addMenu("Sub1"); submenu->addAction(new QAction("Act 3")); mw.show();
ltr mode:
  
 
rtl mode:
 
 
rtl mode with vista style:
 
 
As you can see it also looks like the menu also needs to be moved some pixels to the right.
Also the '>' arrow in ltr mode seems to be to near at the border (in rtl mode it looks better) - was a problem of my debugging while trying to figure out why there is a gap