Commit 4d666252 authored by Andrey Butirsky's avatar Andrey Butirsky
Browse files

Revert "applets/keyboardlayout: use static text to describe display options"

This reverts commit 7af53010
parent 7af53010
Pipeline #217307 passed with stage
in 3 minutes and 45 seconds
......@@ -16,12 +16,23 @@ Kirigami.FormLayout {
id: showLabel
Kirigami.FormData.label: i18n("Display style:")
checked: true
text: i18nc("@option:radio", "Language code")
text: layoutShortName.toUpperCase()
RadioButton {
id: showFlag
text: i18nc("@option:radio", "Flag")
contentItem: Item {
implicitWidth: flagImage.implicitWidth + showFlag.indicator.width
implicitHeight: flagImage.implicitHeight
Image {
id: flagImage
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
source: Platform.StandardPaths.locate(Platform.StandardPaths.GenericDataLocation,
"kf5/locale/countries/" + layoutShortName + "/flag.png")
Kirigami.Separator {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment