Merge lp:~3v1n0/unity-control-center/fix-ui-paddings into lp:unity-control-center

Proposed by Marco Trevisan (Treviño)
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 12913
Merged at revision: 12891
Proposed branch: lp:~3v1n0/unity-control-center/fix-ui-paddings
Merge into: lp:unity-control-center
Diff against target: 273 lines (+71/-79)
1 file modified
panels/appearance/appearance.ui (+71/-79)
To merge this branch: bzr merge lp:~3v1n0/unity-control-center/fix-ui-paddings
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
Review via email: mp+326973@code.launchpad.net

Commit message

appearance: ensure we use everywhere consistent margins

Description of the change

We had multiple ways to set margings and they were set badly.

Also I forgot to commit a change in my previous MP which made some parts not looking properly.

To post a comment you must log in.
12913. By Marco Trevisan (Treviño)

appearance: ensure we use everywhere consistent margins

Revision history for this message
Sebastien Bacher (seb128) wrote :

better indeed, thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'panels/appearance/appearance.ui'
--- panels/appearance/appearance.ui 2017-06-27 23:34:56 +0000
+++ panels/appearance/appearance.ui 2017-07-07 00:46:35 +0000
@@ -580,20 +580,23 @@
580 <object class="GtkBox" id="unity-behavior">580 <object class="GtkBox" id="unity-behavior">
581 <property name="visible">True</property>581 <property name="visible">True</property>
582 <property name="can_focus">False</property>582 <property name="can_focus">False</property>
583 <property name="margin_top">3</property>583 <property name="margin_left">3</property>
584 <property name="margin_bottom">3</property>584 <property name="margin_right">3</property>
585 <property name="margin_top">13</property>
586 <property name="margin_bottom">13</property>
585 <property name="orientation">vertical</property>587 <property name="orientation">vertical</property>
586 <property name="spacing">3</property>588 <property name="spacing">3</property>
587 <child>589 <child>
588 <object class="GtkBox" id="box1">590 <object class="GtkBox" id="box1">
589 <property name="visible">True</property>591 <property name="visible">True</property>
590 <property name="can_focus">False</property>592 <property name="can_focus">False</property>
593 <property name="margin_left">10</property>
594 <property name="margin_right">10</property>
591 <property name="orientation">vertical</property>595 <property name="orientation">vertical</property>
592 <child>596 <child>
593 <object class="GtkBox" id="box3">597 <object class="GtkBox" id="box3">
594 <property name="visible">True</property>598 <property name="visible">True</property>
595 <property name="can_focus">False</property>599 <property name="can_focus">False</property>
596 <property name="border_width">10</property>
597 <property name="spacing">12</property>600 <property name="spacing">12</property>
598 <child>601 <child>
599 <object class="GtkBox" id="box4">602 <object class="GtkBox" id="box4">
@@ -787,7 +790,6 @@
787 <packing>790 <packing>
788 <property name="expand">False</property>791 <property name="expand">False</property>
789 <property name="fill">True</property>792 <property name="fill">True</property>
790 <property name="padding">5</property>
791 <property name="position">0</property>793 <property name="position">0</property>
792 </packing>794 </packing>
793 </child>795 </child>
@@ -1084,34 +1086,19 @@
1084 <object class="GtkBox" id="unity_gfx_mode_box">1086 <object class="GtkBox" id="unity_gfx_mode_box">
1085 <property name="visible">True</property>1087 <property name="visible">True</property>
1086 <property name="can_focus">False</property>1088 <property name="can_focus">False</property>
1087 <property name="orientation">vertical</property>1089 <property name="margin_left">10</property>
1090 <property name="margin_right">10</property>
1091 <property name="spacing">5</property>
1088 <child>1092 <child>
1089 <object class="GtkBox" id="unity_gfx_mode_selector_box">1093 <object class="GtkBox">
1090 <property name="visible">True</property>1094 <property name="visible">True</property>
1091 <property name="can_focus">False</property>1095 <property name="can_focus">False</property>
1092 <property name="margin_left">10</property>1096 <property name="orientation">vertical</property>
1093 <property name="margin_right">10</property>
1094 <property name="spacing">5</property>
1095 <child>1097 <child>
1096 <object class="GtkBox">1098 <object class="GtkLabel" id="label_gfx_mode">
1097 <property name="visible">True</property>1099 <property name="visible">True</property>
1098 <property name="can_focus">False</property>1100 <property name="can_focus">False</property>
1099 <property name="orientation">vertical</property>1101 <property name="label" translatable="yes">Visual effects:</property>
1100 <child>
1101 <object class="GtkLabel" id="label_gfx_mode">
1102 <property name="visible">True</property>
1103 <property name="can_focus">False</property>
1104 <property name="label" translatable="yes">Visual effects:</property>
1105 </object>
1106 <packing>
1107 <property name="expand">False</property>
1108 <property name="fill">True</property>
1109 <property name="position">0</property>
1110 </packing>
1111 </child>
1112 <child>
1113 <placeholder/>
1114 </child>
1115 </object>1102 </object>
1116 <packing>1103 <packing>
1117 <property name="expand">False</property>1104 <property name="expand">False</property>
@@ -1120,66 +1107,53 @@
1120 </packing>1107 </packing>
1121 </child>1108 </child>
1122 <child>1109 <child>
1110 <placeholder/>
1111 </child>
1112 </object>
1113 <packing>
1114 <property name="expand">False</property>
1115 <property name="fill">True</property>
1116 <property name="position">0</property>
1117 </packing>
1118 </child>
1119 <child>
1120 <object class="GtkBox">
1121 <property name="visible">True</property>
1122 <property name="can_focus">False</property>
1123 <property name="orientation">vertical</property>
1124 <property name="spacing">2</property>
1125 <child>
1123 <object class="GtkBox">1126 <object class="GtkBox">
1124 <property name="visible">True</property>1127 <property name="visible">True</property>
1125 <property name="can_focus">False</property>1128 <property name="can_focus">False</property>
1126 <property name="orientation">vertical</property>1129 <property name="spacing">5</property>
1127 <property name="spacing">2</property>
1128 <child>1130 <child>
1129 <object class="GtkBox">1131 <object class="GtkRadioButton" id="unity_gfx_mode_low_enable">
1132 <property name="label" translatable="yes">Low</property>
1130 <property name="visible">True</property>1133 <property name="visible">True</property>
1131 <property name="can_focus">False</property>1134 <property name="can_focus">True</property>
1132 <property name="spacing">5</property>1135 <property name="receives_default">False</property>
1133 <child>1136 <property name="active">True</property>
1134 <object class="GtkRadioButton" id="unity_gfx_mode_low_enable">1137 <property name="draw_indicator">True</property>
1135 <property name="label" translatable="yes">Low</property>
1136 <property name="visible">True</property>
1137 <property name="can_focus">True</property>
1138 <property name="receives_default">False</property>
1139 <property name="active">True</property>
1140 <property name="draw_indicator">True</property>
1141 </object>
1142 <packing>
1143 <property name="expand">False</property>
1144 <property name="fill">False</property>
1145 <property name="position">0</property>
1146 </packing>
1147 </child>
1148 <child>
1149 <object class="GtkRadioButton" id="unity_gfx_mode_full_enable">
1150 <property name="label" translatable="yes">High</property>
1151 <property name="visible">True</property>
1152 <property name="can_focus">True</property>
1153 <property name="receives_default">False</property>
1154 <property name="draw_indicator">True</property>
1155 <property name="group">unity_gfx_mode_low_enable</property>
1156 </object>
1157 <packing>
1158 <property name="expand">False</property>
1159 <property name="fill">False</property>
1160 <property name="position">1</property>
1161 </packing>
1162 </child>
1163 </object>1138 </object>
1164 <packing>1139 <packing>
1165 <property name="expand">False</property>1140 <property name="expand">False</property>
1166 <property name="fill">True</property>1141 <property name="fill">False</property>
1167 <property name="position">0</property>1142 <property name="position">0</property>
1168 </packing>1143 </packing>
1169 </child>1144 </child>
1170 <child>1145 <child>
1171 <object class="GtkLabel">1146 <object class="GtkRadioButton" id="unity_gfx_mode_full_enable">
1172 <property name="name">5</property>1147 <property name="label" translatable="yes">High</property>
1173 <property name="visible">True</property>1148 <property name="visible">True</property>
1174 <property name="can_focus">False</property>1149 <property name="can_focus">True</property>
1175 <property name="margin_top">5</property>1150 <property name="receives_default">False</property>
1176 <property name="label" translatable="yes">&lt;small&gt;Includes shadows and animations when opening, resizing and switching windows.&lt;/small&gt;</property>1151 <property name="draw_indicator">True</property>
1177 <property name="use_markup">True</property>1152 <property name="group">unity_gfx_mode_low_enable</property>
1178 </object>1153 </object>
1179 <packing>1154 <packing>
1180 <property name="expand">False</property>1155 <property name="expand">False</property>
1181 <property name="fill">False</property>1156 <property name="fill">False</property>
1182 <property name="pack_type">end</property>
1183 <property name="position">1</property>1157 <property name="position">1</property>
1184 </packing>1158 </packing>
1185 </child>1159 </child>
@@ -1187,21 +1161,38 @@
1187 <packing>1161 <packing>
1188 <property name="expand">False</property>1162 <property name="expand">False</property>
1189 <property name="fill">True</property>1163 <property name="fill">True</property>
1190 <property name="position">4</property>1164 <property name="position">0</property>
1165 </packing>
1166 </child>
1167 <child>
1168 <object class="GtkLabel">
1169 <property name="name">5</property>
1170 <property name="visible">True</property>
1171 <property name="can_focus">False</property>
1172 <property name="margin_top">5</property>
1173 <property name="label" translatable="yes">&lt;small&gt;Includes shadows and animations when opening, resizing and switching windows.&lt;/small&gt;</property>
1174 <property name="use_markup">True</property>
1175 </object>
1176 <packing>
1177 <property name="expand">False</property>
1178 <property name="fill">False</property>
1179 <property name="pack_type">end</property>
1180 <property name="position">1</property>
1191 </packing>1181 </packing>
1192 </child>1182 </child>
1193 </object>1183 </object>
1194 <packing>1184 <packing>
1195 <property name="expand">False</property>1185 <property name="expand">False</property>
1196 <property name="fill">True</property>1186 <property name="fill">True</property>
1197 <property name="position">0</property>1187 <property name="position">4</property>
1198 </packing>1188 </packing>
1199 </child>1189 </child>
1200 </object>1190 </object>
1201 <packing>1191 <packing>
1202 <property name="expand">False</property>1192 <property name="expand">False</property>
1203 <property name="fill">True</property>1193 <property name="fill">True</property>
1204 <property name="position">6</property>1194 <property name="padding">5</property>
1195 <property name="position">8</property>
1205 </packing>1196 </packing>
1206 </child>1197 </child>
1207 <child>1198 <child>
@@ -1212,21 +1203,21 @@
1212 <packing>1203 <packing>
1213 <property name="expand">False</property>1204 <property name="expand">False</property>
1214 <property name="fill">True</property>1205 <property name="fill">True</property>
1215 <property name="position">7</property>1206 <property name="position">9</property>
1216 </packing>1207 </packing>
1217 </child>1208 </child>
1218 <child>1209 <child>
1219 <object class="GtkLabel" id="unity-label-external-tool">1210 <object class="GtkLabel" id="unity-label-external-tool">
1220 <property name="can_focus">False</property>1211 <property name="can_focus">False</property>
1221 <property name="xpad">12</property>1212 <property name="margin_left">10</property>
1213 <property name="margin_right">10</property>
1222 <property name="label" translatable="yes">Some settings have been overriden by an external program, press "Restore Default Behaviors" to reset the behavior and return control to this panel.</property>1214 <property name="label" translatable="yes">Some settings have been overriden by an external program, press "Restore Default Behaviors" to reset the behavior and return control to this panel.</property>
1223 <property name="wrap">True</property>1215 <property name="wrap">True</property>
1224 <property name="xalign">0</property>
1225 </object>1216 </object>
1226 <packing>1217 <packing>
1227 <property name="expand">False</property>1218 <property name="expand">False</property>
1228 <property name="fill">True</property>1219 <property name="fill">True</property>
1229 <property name="position">8</property>1220 <property name="position">10</property>
1230 </packing>1221 </packing>
1231 </child>1222 </child>
1232 <child>1223 <child>
@@ -1234,7 +1225,9 @@
1234 <property name="height_request">36</property>1225 <property name="height_request">36</property>
1235 <property name="visible">True</property>1226 <property name="visible">True</property>
1236 <property name="can_focus">False</property>1227 <property name="can_focus">False</property>
1237 <property name="margin_top">10</property>1228 <property name="margin_left">10</property>
1229 <property name="margin_right">10</property>
1230 <property name="margin_top">5</property>
1238 <child>1231 <child>
1239 <object class="GtkButton" id="button-restore-unitybehavior">1232 <object class="GtkButton" id="button-restore-unitybehavior">
1240 <property name="label" translatable="yes">Restore Behavior Settings</property>1233 <property name="label" translatable="yes">Restore Behavior Settings</property>
@@ -1246,7 +1239,6 @@
1246 <packing>1239 <packing>
1247 <property name="expand">False</property>1240 <property name="expand">False</property>
1248 <property name="fill">True</property>1241 <property name="fill">True</property>
1249 <property name="padding">10</property>
1250 <property name="position">0</property>1242 <property name="position">0</property>
1251 </packing>1243 </packing>
1252 </child>1244 </child>
@@ -1257,7 +1249,7 @@
1257 <packing>1249 <packing>
1258 <property name="expand">False</property>1250 <property name="expand">False</property>
1259 <property name="fill">True</property>1251 <property name="fill">True</property>
1260 <property name="position">9</property>1252 <property name="position">11</property>
1261 </packing>1253 </packing>
1262 </child>1254 </child>
1263 </object>1255 </object>

Subscribers

People subscribed via source and target branches