mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 17:20:32 +01:00
2021-08-11 Fred Gleason <fredg@paravelsystems.com>
* Adjusted layout in the event dialogs in rdcatch(1) to be compatible with 12 hour time format. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -38,12 +38,6 @@ EditCartEvent::EditCartEvent(int id,std::vector<int> *adds,QWidget *parent)
|
||||
|
||||
setWindowTitle("RDCatch - "+tr("Edit Cart Event"));
|
||||
|
||||
//
|
||||
// Fix the Window Size
|
||||
//
|
||||
setMinimumSize(sizeHint());
|
||||
setMaximumSize(sizeHint());
|
||||
|
||||
//
|
||||
// Text Validator
|
||||
//
|
||||
@@ -128,6 +122,12 @@ EditCartEvent::EditCartEvent(int id,std::vector<int> *adds,QWidget *parent)
|
||||
edit_cancel_button->setText(tr("Cancel"));
|
||||
connect(edit_cancel_button,SIGNAL(clicked()),this,SLOT(cancelData()));
|
||||
|
||||
//
|
||||
// Fix the Window Size
|
||||
//
|
||||
setMinimumSize(sizeHint());
|
||||
setMaximumSize(sizeHint());
|
||||
|
||||
//
|
||||
// Populate Data
|
||||
//
|
||||
@@ -154,7 +154,7 @@ EditCartEvent::~EditCartEvent()
|
||||
|
||||
QSize EditCartEvent::sizeHint() const
|
||||
{
|
||||
return QSize(520,255);
|
||||
return QSize(edit_event_widget->sizeHint().width(),255);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user