Mercurial > lbo > hg > stex
changeset 23:2093abdd7b7f
Client: More size hacking
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Fri, 01 Mar 2019 22:50:45 +0100 |
parents | 4bd847b36403 |
children | af9c69ad5eba |
files | client/client.py |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/client.py Fri Mar 01 22:44:00 2019 +0100 +++ b/client/client.py Fri Mar 01 22:50:45 2019 +0100 @@ -236,7 +236,6 @@ def __init__(self, sym, dim): super().__init__() - super().setMinimumSize(500, 300) self.sym = sym self.series = chart.QLineSeries(self) self.avg_buy_series = chart.QLineSeries(self) @@ -305,6 +304,8 @@ self.depotstock = depotstock self.sym = self.depotstock.sym + self.graph.setMinimumSize(300, 250) + stocksvbox = wid.QVBoxLayout(self) stocksvbox.addWidget(self.graph) stocksvbox.addLayout(self.init_buttonbox()) @@ -515,6 +516,7 @@ def __init__(self): super(wid.QWidget, self).__init__() + wid.QWidget.setMinimumSize(self, 1000, 700) super(arguments.BaseArguments, self).__init__(doc=self._doc) self.depot_widget = DepotWidget(self.depot) @@ -561,7 +563,8 @@ self.show() self.group_table = wid.QTableWidget(self.group_members_max, 2, self) - self.group_table.setMaximumWidth(250) + self.group_table.setMinimumWidth(210) + self.group_table.setMaximumWidth(210) self.group_table.show() self.mainhbox.addLayout(self.stocksvbox)