[KCM] Squeeze key and make it selectable by mouse
Avoids it blowing up the layout
This commit is contained in:
parent
2a3ab4104e
commit
14633d4486
1 changed files with 9 additions and 1 deletions
10
kcm/kcm.ui
10
kcm/kcm.ui
|
@ -215,10 +215,13 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="verificationKey">
|
||||
<widget class="KSqueezedTextLabel" name="verificationKey">
|
||||
<property name="text">
|
||||
<string>🔑 abababab</string>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
@ -385,6 +388,11 @@
|
|||
<header>kmessagewidget.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>KSqueezedTextLabel</class>
|
||||
<extends>QLabel</extends>
|
||||
<header>ksqueezedtextlabel.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
|
|
Loading…
Reference in a new issue