macos ui fix

This commit is contained in:
pokamest 2021-05-12 02:49:36 -07:00
parent eee6b8b10f
commit 51f7e6811e

View file

@ -65,6 +65,10 @@ color: #333333;
}
QComboBox {
font-size: 16px;
}
QLineEdit {
font-size: 16px;
selection-background-color: darkgray;
@ -287,7 +291,7 @@ QPushButton:hover {
<string notr="true"/>
</property>
<property name="currentIndex">
<number>7</number>
<number>2</number>
</property>
<widget class="QWidget" name="page_start">
<widget class="QLabel" name="label_25">
@ -509,8 +513,8 @@ color: #100A44;
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Lato'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:16px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Lato'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8.25pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_new_server_get_info">
@ -844,7 +848,7 @@ QPushButton:hover {
<x>10</x>
<y>30</y>
<width>361</width>
<height>41</height>
<height>61</height>
</rect>
</property>
<property name="styleSheet">
@ -902,11 +906,23 @@ QPushButton:hover {
<property name="geometry">
<rect>
<x>0</x>
<y>80</y>
<width>381</width>
<height>491</height>
<y>95</y>
<width>380</width>
<height>471</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>380</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>380</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QScrollArea { background: transparent; }
QScrollArea &gt; QWidget &gt; QWidget { background: transparent; }
@ -944,13 +960,22 @@ border: none;
<rect>
<x>0</x>
<y>0</y>
<width>379</width>
<height>489</height>
<width>378</width>
<height>469</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>5</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>19</number>
<number>5</number>
</property>
<item>
<widget class="QFrame" name="frame_new_server_settings_parent_cloak">
@ -973,8 +998,17 @@ border: none;
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>5</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>9</number>
<number>5</number>
</property>
<item>
<widget class="QWidget" name="widget_2" native="true">
@ -982,18 +1016,6 @@ border: none;
<string notr="true"/>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QCheckBox" name="checkBox_new_server_cloak">
<property name="text">
@ -1007,6 +1029,12 @@ border: none;
</item>
<item>
<widget class="QPushButton" name="pushButton_new_server_settings_cloak">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>24</width>
@ -1051,6 +1079,18 @@ border: none;
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_new_server_cloak_port">
<property name="minimumSize">
<size>
<width>185</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>185</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>443</string>
</property>
@ -1077,6 +1117,18 @@ border: none;
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_new_server_cloak_site">
<property name="minimumSize">
<size>
<width>185</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>185</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>mail.ru</string>
</property>
@ -1103,24 +1155,21 @@ border: none;
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>5</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>5</number>
</property>
<item>
<widget class="QWidget" name="widget_3" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QCheckBox" name="checkBox_new_server_ss">
<property name="minimumSize">
@ -1136,6 +1185,12 @@ border: none;
</item>
<item>
<widget class="QPushButton" name="pushButton_new_server_settings_ss">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>24</width>
@ -1180,6 +1235,18 @@ border: none;
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_new_server_ss_port">
<property name="minimumSize">
<size>
<width>185</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>185</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>6789</string>
</property>
@ -1206,6 +1273,18 @@ border: none;
</item>
<item row="1" column="1">
<widget class="QComboBox" name="comboBox_new_server_ss_cipher">
<property name="minimumSize">
<size>
<width>185</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>185</width>
<height>16777215</height>
</size>
</property>
<item>
<property name="text">
<string>chacha20-ietf-poly1305</string>
@ -1254,26 +1333,29 @@ border: none;
<property name="sizeConstraint">
<enum>QLayout::SetMinAndMaxSize</enum>
</property>
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>5</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>5</number>
</property>
<item>
<widget class="QWidget" name="widget_4" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QCheckBox" name="checkBox_new_server_openvpn">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
@ -1287,6 +1369,12 @@ border: none;
</item>
<item>
<widget class="QPushButton" name="pushButton_new_server_settings_openvpn">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>24</width>
@ -1330,7 +1418,20 @@ border: none;
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_new_server_openvpn_port"/>
<widget class="QLineEdit" name="lineEdit_new_server_openvpn_port">
<property name="minimumSize">
<size>
<width>185</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>185</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_56">
@ -1353,6 +1454,18 @@ border: none;
</item>
<item row="1" column="1">
<widget class="QComboBox" name="comboBox_new_server_openvpn_proto">
<property name="minimumSize">
<size>
<width>185</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>185</width>
<height>16777215</height>
</size>
</property>
<item>
<property name="text">
<string>UDP</string>
@ -1925,7 +2038,7 @@ color: #100A44;
<string>These sites will be opened using VPN</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>