Просмотр исходного кода

configure_profile_manager: Remove profile picture border

The border adds its own width at least on Linux which causes the icon to
be offset by 1px, and cropped by 2px on the bottom and right sides.
lat9nq 3 лет назад
Родитель
Сommit
8ca02794c5
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      src/yuzu/configuration/configure_profile_manager.ui

+ 6 - 0
src/yuzu/configuration/configure_profile_manager.ui

@@ -57,6 +57,12 @@
               <height>48</height>
              </size>
             </property>
+            <property name="frameShape">
+             <enum>QFrame::NoFrame</enum>
+            </property>
+            <property name="frameShadow">
+             <enum>QFrame::Plain</enum>
+            </property>
             <property name="verticalScrollBarPolicy">
              <enum>Qt::ScrollBarAlwaysOff</enum>
             </property>