Changeset View
Changeset View
Standalone View
Standalone View
kcms/fonts/package/contents/ui/FontWidget.qml
Show All 38 Lines | 28 | FocusScope { | |||
---|---|---|---|---|---|
39 | Layout.preferredHeight: layout.Layout.preferredHeight | 39 | Layout.preferredHeight: layout.Layout.preferredHeight | ||
40 | implicitWidth: layout.implicitWidth | 40 | implicitWidth: layout.implicitWidth | ||
41 | implicitHeight: layout.implicitHeight | 41 | implicitHeight: layout.implicitHeight | ||
42 | 42 | | |||
43 | RowLayout { | 43 | RowLayout { | ||
44 | id: layout | 44 | id: layout | ||
45 | 45 | | |||
46 | QtControls.TextField { | 46 | QtControls.TextField { | ||
47 | enabled: false | 47 | readOnly: true | ||
48 | Kirigami.Theme.inherit: true | ||||
48 | text: root.font.family + " " + root.font.pointSize | 49 | text: root.font.family + " " + root.font.pointSize | ||
49 | font: root.font | 50 | font: root.font | ||
50 | Layout.fillHeight: true | 51 | Layout.fillHeight: true | ||
51 | } | 52 | } | ||
52 | 53 | | |||
53 | QtControls.Button { | 54 | QtControls.Button { | ||
54 | text: i18n("Choose...") | 55 | text: i18n("Choose...") | ||
55 | Layout.fillHeight: true | 56 | Layout.fillHeight: true | ||
Show All 13 Lines |