Changeset 3c064d5 in subsurface


Ignore:
Timestamp:
Dec 2, 2013, 9:55:18 AM (4 years ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
Mtest, android_test, dcDownload, foratdotde, gitMerge, gitdebug, gitpictures, ios, master, mergeKirigamiPort, pictimeshift, resolutionIndependence, spinner, testTomaz, testing, v4.0-branch, v4.0.3-branch, v4.2-branch, v4.4-branch, v4.5-branch
Children:
768cab6
Parents:
7ce12f1
git-author:
Dirk Hohndel <dirk@…> (12/02/13 09:51:42)
git-committer:
Dirk Hohndel <dirk@…> (12/02/13 09:55:18)
Message:

Make the message when editing a dive fit better

This should keep the message widget visible without horizontal scroll bar,
even on fairly small screens.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qt-ui/maintab.cpp

    r7ce12f1 r3c064d5  
    176176        if (mainWindow() && mainWindow()->dive_list()->selectedTrips().count() == 1) {
    177177                // we are editing trip location and notes
    178                 ui.diveNotesMessage->setText(tr("This trip is being edited. Select Save or Cancel when done."));
     178                ui.diveNotesMessage->setText(tr("This trip is being edited.\nSelect Save or Cancel when done."));
    179179                ui.diveNotesMessage->animatedShow();
    180                 ui.diveEquipmentMessage->setText(tr("This trip is being edited. Select Save or Cancel when done."));
     180                ui.diveEquipmentMessage->setText(tr("This trip is being edited.\nSelect Save or Cancel when done."));
    181181                ui.diveEquipmentMessage->animatedShow();
    182182                notesBackup[NULL].notes = ui.notes->toPlainText();
     
    185185        } else {
    186186                if (amount_selected > 1) {
    187                         ui.diveNotesMessage->setText(tr("Multiple dives are being edited. Select Save or Cancel when done."));
    188                         ui.diveEquipmentMessage->setText(tr("Multiple dives are being edited. Select Save or Cancel when done."));
     187                        ui.diveNotesMessage->setText(tr("Multiple dives are being edited.\nSelect Save or Cancel when done."));
     188                        ui.diveEquipmentMessage->setText(tr("Multiple dives are being edited.\nSelect Save or Cancel when done."));
    189189                } else {
    190                         ui.diveNotesMessage->setText(tr("This dive is being edited. Select Save or Cancel when done."));
    191                         ui.diveEquipmentMessage->setText(tr("This dive is being edited. Select Save or Cancel when done."));
     190                        ui.diveNotesMessage->setText(tr("This dive is being edited.\nSelect Save or Cancel when done."));
     191                        ui.diveEquipmentMessage->setText(tr("This dive is being edited.\nSelect Save or Cancel when done."));
    192192                }
    193193                ui.diveNotesMessage->animatedShow();
Note: See TracChangeset for help on using the changeset viewer.