mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
limited the length of the displayed server name
- added auto-selection of the first available protocol when changing the server on the PageShare page
This commit is contained in:
@@ -8,6 +8,8 @@ import "TextTypes"
|
||||
RadioButton {
|
||||
id: root
|
||||
|
||||
property int textMaximumLineCount: 2
|
||||
property int textElide: Qt.ElideRight
|
||||
property string descriptionText
|
||||
|
||||
property string hoveredColor: Qt.rgba(1, 1, 1, 0.05)
|
||||
@@ -104,6 +106,8 @@ RadioButton {
|
||||
|
||||
ListItemTitleType {
|
||||
text: root.text
|
||||
maximumLineCount: root.textMaximumLineCount
|
||||
elide: root.textElide
|
||||
|
||||
color: {
|
||||
if (root.checked) {
|
||||
|
||||
Reference in New Issue
Block a user