IDEA-141246 fix cancel button position for DFM progress indicator
authorSergey Ignatov <sergey.ignatov@jetbrains.com>
Thu, 5 Nov 2015 18:43:26 +0000 (21:43 +0300)
committerSergey Ignatov <sergey.ignatov@jetbrains.com>
Thu, 5 Nov 2015 18:55:36 +0000 (21:55 +0300)
platform/platform-impl/src/com/intellij/openapi/wm/impl/status/PresentationModeProgressPanel.form
platform/platform-impl/src/com/intellij/openapi/wm/impl/status/PresentationModeProgressPanel.java

index d3b9897ea43b66fb7176ba37485b490a5c3aaf95..9b3015428a0832c256bb9bb65c95f33710aea0b4 100644 (file)
@@ -16,8 +16,9 @@
       <component id="21ac6" class="javax.swing.JLabel" binding="myText">
         <constraints>
           <grid row="0" column="0" row-span="1" col-span="2" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false">
-            <preferred-size width="225" height="-1"/>
-            <maximum-size width="225" height="-1"/>
+            <minimum-size width="209" height="-1"/>
+            <preferred-size width="209" height="-1"/>
+            <maximum-size width="209" height="-1"/>
           </grid>
         </constraints>
         <properties>
@@ -49,8 +50,9 @@
       <component id="34af0" class="javax.swing.JLabel" binding="myText2">
         <constraints>
           <grid row="2" column="0" row-span="1" col-span="2" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false">
-            <preferred-size width="225" height="-1"/>
-            <maximum-size width="225" height="-1"/>
+            <minimum-size width="209" height="-1"/>
+            <preferred-size width="209" height="-1"/>
+            <maximum-size width="209" height="-1"/>
           </grid>
         </constraints>
         <properties>
index e265adc21727879f65026b94a36c8a5d8c751892..fb36b901bf65aea8a5455894257ef26eb920ac23 100644 (file)
@@ -23,7 +23,6 @@ import com.intellij.openapi.util.registry.Registry;
 import com.intellij.openapi.util.text.StringUtil;
 import com.intellij.ui.InplaceButton;
 import com.intellij.ui.TransparentPanel;
-import com.intellij.util.ui.EmptyIcon;
 import com.intellij.util.ui.JBUI;
 import com.intellij.util.ui.update.MergingUpdateQueue;
 import com.intellij.util.ui.update.Update;
@@ -52,8 +51,6 @@ public class PresentationModeProgressPanel {
     Font font = JBUI.Fonts.label(11);
     myText.setFont(font);
     myText2.setFont(font);
-    myText.setIcon(EmptyIcon.create(1, 16));
-    myText2.setIcon(EmptyIcon.create(1, 16));
     myUpdateQueue = new MergingUpdateQueue("Presentation Mode Progress", 100, true, null);
     myUpdate = new Update("Update UI") {
       @Override