Skip to content

Commit ab5028e

Browse files
committed
Fixed Window Size
1 parent 47c2ff4 commit ab5028e

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

Main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ function createWindow() {
1818
// assign win to an instance of a new browser window.
1919
win = new BrowserWindow({
2020
// giving our window its width
21-
width: 900,
21+
width: 1920,
2222
// giving our window its hieght
23-
height: 800,
23+
height: 1080,
2424
// specify the path of the icon -- Which icon is this?.. note too tsure --> Ousman
2525
icon: path.join(__dirname, 'app/assets/icons/icon.png'),
2626
// enable node inegreation --> node intgeration, default is usally false --> Ousman

app/AComp/Microservices.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import ServiceDetails from '../components/ServiceDetails.jsx';
77
const { ipcRenderer } = window.require('electron');
88

99
const Microservices = (props) => {
10-
const { index, setDetails } = props;
10+
const { index, setDetails, setSelection } = props;
1111
// Overview state used to create service buttons
1212
const [overviewState, setOverviewState] = useState([]);
1313
// const [detailsSelected, setDetails] = useState();
@@ -57,6 +57,7 @@ const Microservices = (props) => {
5757
setDetails(
5858
<ServiceDetails service={element.currentmicroservice} />
5959
);
60+
6061
});
6162
// setSelection(<Monitoring detailsSelected={detailsSelected} />);
6263
}}

app/containers/DashboardContainer.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const DashboardContainer = () => {
88
// Used to hold the buttons created for each database found in context.
99
const [serviceSelected, setSelection] = useState();
1010
const [detailsSelected, setDetails] = useState();
11+
1112
return (
1213
<div className="servicesDashboardContainer">
1314
<SidebarContainer setSelection={setSelection} setDetails={setDetails} />

app/containers/SideBarContainer.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import Microservices from '../AComp/Microservices.jsx';
77
import ServicesList from '../AComp/ServicesList.jsx';
88
import AddService from '../components/AddService.jsx';
99
import DeleteService from '../components/DeleteService.jsx';
10-
// import Monitoring from './MonitoringContainer.jsx';
1110
import '../stylesheets/sidebar.css';
1211

1312
const { ipcRenderer } = window.require('electron');
@@ -17,7 +16,7 @@ const SidebarContainer = (props) => {
1716
// Used to toggle setup required if user wants to add a new database.
1817
const setup = useContext(SetupContext);
1918

20-
const { setSelection, setDetails} = props;
19+
const { setSelection, setDetails } = props;
2120

2221

2322
// List of the databases saved by users to track microservices.

0 commit comments

Comments
 (0)