|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #49644] questdlg displays buttons in reverse order |
Date: | Sat, 19 Nov 2016 01:18:45 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #10, bug #49644 (project octave): I got things to change by setting the default-layout to 3 (GNOME layout). So setStylesheet does work as you suggested. What test were you using for the global test? Is it possible to restrict the setStyleSheet to this widget itself by using qWidget::setStyleSheet? There is a possibility that the bare function call is actually doing qApplication::setStyleSheet. I grepped through the m-files and I didn't see any use of questdlg. That makes me think we could hack just the questdlg to get this to work. Can we change the role of the buttons from "AcceptRole" to "ResetRole"? This style is left-aligned for both Windows and Mac. I tested that modification and it worked for me. You can try it with the attached btn.patch. (file #39015) _______________________________________________________ Additional Item Attachment: File name: btn.patch Size:1 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49644> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |