D9275: fix RTL appearance for ComboBox

Safa Alfulaij noreply at phabricator.kde.org
Fri Feb 16 10:52:03 UTC 2018


safaalfulaij added a comment.


  In D9275#207623 <https://phabricator.kde.org/D9275#207623>, @mvourlakos wrote:
  
  > Can you build Latte from master version? All comboboxes in its settings window are PlasmaComponents3
  
  
  :)
  Ok, I can assume that Latte doens't have a `Window`/`ApplicationWindow`, and that is why this is needed.
  I've tried this and it didn't work as with `ApplicationWindow` instead of the base `Item`:
  
    import QtQuick 2.7
    import QtQuick.Layouts 1.3
    
    import "plasma" as Plasma
    
    Item {
        LayoutMirroring.enabled: true
        LayoutMirroring.childrenInherit: true
    
        width: 350
        height: 150
    
        RowLayout {
            anchors.fill: parent
            Plasma.ComboBox {
                id: combo
                model: ["أولا_", "Second_", "Third"]
            }
        }
    }
  
  We should include this for now, with the HACK comment, till we can get it somehow solved in Qt.
  Sorry for all the misunderstandings!

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D9275

To: mvourlakos, #plasma, mart
Cc: safaalfulaij, mart, plasma-devel, #frameworks, michaelh, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180216/355f0c61/attachment.html>


More information about the Plasma-devel mailing list