[GB.QT4]
* BUG: Draw.Style.Separator correctly honors verticality. git-svn-id: svn://localhost/gambas/trunk@3100 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
989e4da2dc
commit
3965ebc8a8
1 changed files with 1 additions and 1 deletions
|
@ -1045,7 +1045,7 @@ static void style_separator(GB_DRAW *d, int x, int y, int w, int h, int vertical
|
|||
QStyleOption opt;
|
||||
init_option(opt, x, y, w, h, state);
|
||||
|
||||
if (!vertical)
|
||||
if (vertical)
|
||||
opt.state |= QStyle::State_Horizontal;
|
||||
|
||||
QApplication::style()->drawPrimitive(QStyle::PE_IndicatorToolBarSeparator, &opt, DP(d));
|
||||
|
|
Loading…
Reference in a new issue