# # Version: 1.0 # # The contents of this file are subject to the OpenVPMS License Version # 1.0 (the 'License'); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # http://www.openvpms.org/license/ # # Software distributed under the License is distributed on an 'AS IS' basis, # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License # for the specific language governing rights and limitations under the # License. # # Copyright 2015 (C) OpenVPMS Ltd. All Rights Reserved. # MainPane.separatorPosition = 17 * $font.size MainPane.Menu.height = max($font.size + 6, 18) # the 18 takes into account icon heights HelpDialog.header.separatorPosition = 6 * $font.size HelpDialog.content.separatorPosition = 20 * $font.size HelpDialog.content.size = 15 * $font.size HelpDialog.footer.separatorPosition = 6 * $font.size HelpBrowser.features = concat('width=', 0.50 * $width, ',height=', 0.70 * $height, ',resizable=yes,left=', 0.40 * $width,',top=',0.15 * $height,',scrollbars=yes') PatientRecordWorkspace.Layout.separatorPosition = 20 * $font.size PatientSummary.Dialog.width = 0.50 * $width PatientSummary.Dialog.height = 0.35 * $height AbstractViewWorkspace.Layout.separatorPosition = 5 * $font.size BrowserCRUDWorkspace.Layout.separatorPosition = 19 * $font.size EditDialog.width = 0.70 * $width EditDialog.height = 0.80 * $height ChildEditDialog.width = 0.60 * $width ChildEditDialog.height = 0.60 * $height BrowserDialog.width = 0.70 * $width BrowserDialog.height = 0.75 * $height AppointmentBrowser.separatorPosition = 9 * $font.size ScheduleBrowser.separatorPosition = 7 * $font.size MailDialog.width = 70 * $font.size MailDialog.height = 50 * $font.size MailEditor.message.height = 26 * $font.size MailEditor.separatorPosition = 14 * $font.size MailEditor.gridSeparatorPosition = 48 * $font.size SMSDialog.width = 35 * $font.size SMSDialog.height = 30 * $font.size SMSConfigEmail.separatorPosition = 19 * $font.size SMSConfigEmailGeneric.separatorPosition = 25 * $font.size LockScreenDialog.width = 35 * $font.size LockScreenDialog.height = 20 * $font.size PatientClinicalNote.note.height = 40 * $font.size UserMessage.message.height = 28 * $font.size SystemMessage.message.height = 10 * $font.size InformationDialog.Compact.width = 35 * $font.size InformationDialog.Compact.height = 10 * $font.size VisitEditor.TabbedPane.height = (0.75 * $height) - 8 - ($padding.small * 2 + $font.h4.size) - ($padding.medium * 2) - (8 + $font.size) - ($padding.tiny * 2 + $padding.smaller * 2 + 2 + $font.size) - 8 - (3*3) -10 # Need to set the tab pane height, to avoid scrollbars. Calculation of this is tedious, and involves subtracting the # various component heights from that of the dialog height # # 0.75 * $height = dialog height # 8 = title offset # $padding.small * 2 + font.h4.size = WindowPane titleInsets # $padding.medium * 2 = InsetY # 7 + $font.size = tab button # $padding.tiny * 2 + $padding.smaller * 2 + 2 # 32 is the size of buttonrowfill.png # 8 = bottom offset # 3 * 3 = 3 pixels per font instance. Firefox seems to stick a 3 pixel padding around labels. # 10 - hack constant that gets rid of scrollbars. dialog.title.height = max($font.size + 2 + $padding.small * 2, 19) # the 19 takes into account icon heights dialog.large.width = 0.80 * $width dialog.large.height = 0.80 * $height dialog.medium.width = 0.50 * $width dialog.medium.height = 0.50 * $height dialog.small.width = 0.30 * $width dialog.small.height = 0.30 * $height dialog.closeicon = 'closebutton-17x17.gif' splitpane-buttonrow.separatorPosition = min($font.size + 4 + $padding.smaller * 2 + $padding.tiny * 4, 32) # 32 is the size of buttonrowfill.png # font sizes were calculated using the following defaults from Firefox # h1 = 32px, h2 = 24px, h3 = 18.7167px, h4 = 16px, h5 = 13.2833px, 10pt=16.6667px, 9pt = 15px, 8pt= 13.3333px, 7pt=11.6667px font.typeface='arial,sans-serif' font.size=12 font.h1.size = $font.size * 2.667 font.h2.size = $font.size * 2 font.h3.size = $font.size * 1.56 font.h4.size = $font.size * 1.333 font.h5.size = $font.size * 1.107 font.small.size= $font.size padding.large = ($font.size div 3) * 4 padding.medium = $font.size * 0.4 padding.small = $font.size div 4 padding.smaller = max($font.size div 5, 2) padding.tiny = 2 # # Label alignment. # This specifies the horizontal label alignment when: # . editing and viewing objects # . inputting report parameters # Possible values are 'left' and 'right' label.align = 'left' # # Default OpenVPMS background colour # theme.colour = '#339933' theme.title.colour = '#fdf5e6' theme.button.colour = '#99cc66' theme.selection.colour = '#85c1ff' # # Patient history colours # history.note.colour = '#ffffff' history.problem.colour = '#ffb1c6' history.medication.colour = '#ffecb1' history.weight.colour = '#d1ffb1' history.attachment.colour = '#ffffff' history.image.colour = '#ffffff' history.form.colour = '#ffffff' history.investigation.colour = '#ffffff' history.letter.colour = '#ffffff' history.invoice.colour='#ffffff' # # Patient history field widths. # history.date.width = $font.size * 7 history.type.width = $font.size * 12.5 history.clinician.width = $font.size * 12.5 # # Reminder colours. Default values are green, yellow and red respectively. # reminder.notdue.colour = '#00ff00' reminder.due.colour = '#ffff00' reminder.overdue.colour = '#ff4040' # # Selector field width # selector.width = $font.size * 20