Skip to content

Commit 0fe3105

Browse files
committed
Better tabbar style
1 parent 2611c22 commit 0fe3105

File tree

6 files changed

+34
-37
lines changed

6 files changed

+34
-37
lines changed

.idea/workspace.xml

Lines changed: 16 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/resources/fxml/views/kanban/KanbanView.fxml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,21 @@
1616
<HBox prefHeight="100.0" prefWidth="200.0">
1717
<children>
1818
<HBox fx:id="boardsContainer" prefHeight="0.0" prefWidth="0.0" spacing="20.0" />
19-
<HBox alignment="TOP_CENTER" maxWidth="-Infinity" minWidth="-Infinity" prefHeight="398.0" prefWidth="182.0">
19+
<HBox alignment="TOP_CENTER" maxWidth="-Infinity" minWidth="-Infinity" prefHeight="358.0" prefWidth="162.0">
2020
<children>
2121
<TextField fx:id="addRowTextField" onKeyPressed="#textFieldKeyPressed">
2222
<HBox.margin>
2323
<Insets right="10.0" />
2424
</HBox.margin></TextField>
25-
<Button mnemonicParsing="false" onAction="#addNewRowAction" prefHeight="25.0" prefWidth="25.0" textFill="WHITE">
25+
<Button mnemonicParsing="false" onAction="#addNewRowAction" prefHeight="26.0" prefWidth="0.0" textFill="WHITE">
2626
<graphic>
2727
<FontIcon iconColor="#b5b5b5" iconLiteral="fa-plus" />
2828
</graphic>
2929
</Button>
3030
</children>
31+
<HBox.margin>
32+
<Insets right="100.0" />
33+
</HBox.margin>
3134
</HBox>
3235
</children>
3336
<padding>

src/main/resources/styles/main.css

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
.menu-item:hover, .menu-item:focused {
1919
-fx-background-color: #666666;
20+
-fx-background-insets: 0 0 0 0;
2021
}
2122

2223
.label {
@@ -29,7 +30,8 @@
2930

3031
.tree-cell {
3132
-fx-background-color: #141414;
32-
-fx-text-fill: #b5b5b5 ;
33+
-fx-text-fill: #b5b5b5;
34+
-fx-background-insets: 0 0 0 0;
3335
}
3436

3537
.tree-cell:focused {
@@ -41,13 +43,18 @@
4143
}
4244

4345
.tab-pane > .tab-header-area > *.tab-header-background {
44-
-fx-background-color: #141414;
46+
-fx-background-color: #141414;
4547
}
48+
49+
.tab-pane .tab-header-area {
50+
-fx-padding: 10 0 0 0;
51+
}
52+
4653
.tab {
4754
-fx-background-color: transparent;
48-
-fx-background-radius: 7;
49-
-fx-padding: 7;
55+
-fx-background-radius: 2 2 0 0;
5056
-fx-pref-width: 200;
57+
-fx-background-insets: 0 0 0 0;
5158
}
5259

5360
.tab:selected {

t.knbn

Whitespace-only changes.

test.ics

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,10 @@ PRODID:-//Ben Fortuna//iCal4j 1.0//EN
33
CALSCALE:GREGORIAN
44
VERSION:2.0
55
BEGIN:VEVENT
6-
DTSTAMP:20211111T091735Z
7-
DTSTART:20211111T110000
8-
DTEND:20211111T120000
9-
SUMMARY:Neues Ereignis 1
10-
UID:48
11-
END:VEVENT
12-
BEGIN:VEVENT
13-
DTSTAMP:20211111T091735Z
14-
DTSTART:20211111T131500
15-
DTEND:20211111T153000
16-
SUMMARY:Neues Ereignis 1
17-
UID:49
18-
END:VEVENT
19-
BEGIN:VEVENT
20-
DTSTAMP:20211111T091735Z
21-
DTSTART:20211111T091500
22-
DTEND:20211111T101500
23-
SUMMARY:Neues Ereignis 2
24-
UID:50
25-
END:VEVENT
26-
BEGIN:VEVENT
27-
DTSTAMP:20211111T091735Z
6+
DTSTAMP:20211112T155455Z
287
DTSTART:20211113T111500
298
DTEND:20211114T124500
309
SUMMARY:Neues Ereignis 1
31-
UID:55
10+
UID:3
3211
END:VEVENT
3312
END:VCALENDAR

test.knbn

Whitespace-only changes.

0 commit comments

Comments
 (0)