Aesthetic improvements to Content-Type combo-boxes

This commit is contained in:
Rohit Awate 2018-08-14 15:14:01 +05:30
parent 14cd517555
commit 2e4f550513
No known key found for this signature in database
GPG key ID: 1051D7B79CF2EE25
4 changed files with 18 additions and 3 deletions

View file

@ -31,5 +31,5 @@ public class Settings {
public static String syntaxTheme = "Moondust"; public static String syntaxTheme = "Moondust";
public static int showHistoryRange = 7; public static int showHistoryRange = 7;
public static boolean editorWrapText = false; public static boolean editorWrapText = true;
} }

View file

@ -325,8 +325,21 @@
-fx-background-color: #2a2a2a; -fx-background-color: #2a2a2a;
} }
#rawInputTypeBox,
#responseTypeBox {
-fx-background-color: #505050;
}
#rawInputTypeBox .list-cell,
#responseTypeBox .list-cell { #responseTypeBox .list-cell {
-fx-text-fill: azure;
-fx-font-size: 13px; -fx-font-size: 13px;
-fx-background-color: #505050;
}
#rawInputTypeBox .list-cell:hover,
#responseTypeBox .list-cell:hover {
-fx-background-color: cornflowerblue;
} }
/* Response Headers Viewer */ /* Response Headers Viewer */

View file

@ -33,7 +33,8 @@
<content> <content>
<VBox fx:id="rawVBox"> <VBox fx:id="rawVBox">
<children> <children>
<ComboBox fx:id="rawInputTypeBox" maxHeight="30.0" visibleRowCount="5" VBox.vgrow="SOMETIMES"> <ComboBox fx:id="rawInputTypeBox" maxHeight="25.0" minHeight="25.0" visibleRowCount="5"
VBox.vgrow="SOMETIMES">
<VBox.margin> <VBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/> <Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
</VBox.margin> </VBox.margin>

View file

@ -147,7 +147,8 @@
</children> </children>
</HBox> </HBox>
<ComboBox fx:id="responseTypeBox" maxHeight="25.0" <ComboBox fx:id="responseTypeBox" maxHeight="25.0"
minHeight="25.0" prefWidth="100.0"/> minHeight="25.0" prefWidth="120.0"
styleClass="content-type-combo-box"/>
<Label fx:id="responseTime" text="151 ms" textFill="WHITE" <Label fx:id="responseTime" text="151 ms" textFill="WHITE"
HBox.hgrow="ALWAYS"> HBox.hgrow="ALWAYS">
<HBox.margin> <HBox.margin>