diff --git a/windows/src/desktop/kmshell/main/UfrmMain.dfm b/windows/src/desktop/kmshell/main/UfrmMain.dfm index 339d7b278f..5a7dce719f 100644 --- a/windows/src/desktop/kmshell/main/UfrmMain.dfm +++ b/windows/src/desktop/kmshell/main/UfrmMain.dfm @@ -6,7 +6,7 @@ inherited frmMain: TfrmMain ClientHeight = 494 ClientWidth = 846 Constraints.MinHeight = 530 - Constraints.MinWidth = 600 + Constraints.MinWidth = 680 OldCreateOrder = True Position = poScreenCenter OnClose = TntFormClose diff --git a/windows/src/desktop/kmshell/xml/config.css b/windows/src/desktop/kmshell/xml/config.css index b24a58d188..fb82198ff1 100644 --- a/windows/src/desktop/kmshell/xml/config.css +++ b/windows/src/desktop/kmshell/xml/config.css @@ -169,6 +169,36 @@ input[type='submit']:disabled, input[type='button']:disabled, button:disabled background: #80808f; } +/* Microsoft Window UI style buttons */ +input.ms_button +{ + background: #e1e1e1; + border-radius: 0px; + color: #33333f; + border: none; + border: 1px solid; + border-color: #adadad; + vertical-align: top; + outline-color: #0078d7; + padding: 0px 15px 0px 15px; + +} + +input.ms_button:hover +{ + background: #e5f1fb ; + border-color: #0078d7; +} + +input.ms_button:focus +{ + background: #e5f1fb ; + border-color: #0078d7; + border-radius: 0px; +} + +/* Microsoft Window UI style */ + a.hotkey:link, a.hotkey:visited { color: black; @@ -500,7 +530,7 @@ table tr .grid_container { display: grid; position: relative; - grid-template-columns: max-content minmax(260px, 439px); + grid-template-columns: max-content minmax(240px, 439px); padding: 1px 0 1px 10px; } @@ -1180,7 +1210,7 @@ th .modify .modify_popup { position: fixed; display: none; - width: 400px; + width: 320px; height: 200px; margin: -180px 0 0 -180px; left: 50%; @@ -1188,16 +1218,26 @@ th border: solid 1px black; background: white; z-index: 101; - padding: 10px; } + .popup_header { font-size: 16px; - font-weight: bold; - padding-bottom: 10px; + color: #ffffff; + padding-bottom: 2px; + padding-left: 5px; + background: #525e54; /* ms header colour */ } -.list_languages_add{ +.list_languages_add { padding-top: 10px; + position: fixed; + top: 45%; + left: 45%; +} + +.modify .keyboard_language { + padding: 3px; + padding-left: 10px; } diff --git a/windows/src/desktop/kmshell/xml/elements.xsl b/windows/src/desktop/kmshell/xml/elements.xsl index dac8f234e3..54c9a39fa1 100644 --- a/windows/src/desktop/kmshell/xml/elements.xsl +++ b/windows/src/desktop/kmshell/xml/elements.xsl @@ -205,4 +205,25 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/windows/src/desktop/kmshell/xml/keyman_keyboardlist.xsl b/windows/src/desktop/kmshell/xml/keyman_keyboardlist.xsl index 55510e7c55..e3b35c320d 100644 --- a/windows/src/desktop/kmshell/xml/keyman_keyboardlist.xsl +++ b/windows/src/desktop/kmshell/xml/keyman_keyboardlist.xsl @@ -385,10 +385,12 @@
+ ms_button keyman:keyboardlanguage_install?id= + ms_button return hideModifyLink('') @@ -410,11 +412,14 @@ - - + + + + + @@ -427,9 +432,67 @@
- - - margin-left: auto; margin-right: 19px; + + + margin-left: auto; margin-right: 6px; + + hotkey + keyman:hotkey_set?index=hotkey_lang_ + this.style.cursor='hand'; + + + + + + + + +
+
+ +
+ margin-left: auto; margin-right: 10px; + + keyman:keyboardlanguage_uninstall?id=&bcp47code= + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+
()
+ + +
+ + + margin-left: auto; margin-right: 6px; hotkey keyman:hotkey_set?index=hotkey_lang_