(svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that
This commit is contained in:
@@ -159,11 +159,10 @@ enum WindowDefaultFlag {
|
||||
* Special values for 'left' and 'top' to cause a specific placement
|
||||
*/
|
||||
enum WindowDefaultPosition {
|
||||
WDP_MANUAL, ///< Manually align the window (so no automatic location finding)
|
||||
WDP_AUTO = -1, ///< Find a place automatically
|
||||
WDP_CENTER = -2, ///< Center the window (left/right or top/bottom)
|
||||
WDP_ALIGN_TBR = -3, ///< Align the right side of the window with the right side of the main toolbar
|
||||
WDP_ALIGN_TBL = -4, ///< Align the left side of the window with the left side of the main toolbar
|
||||
WDP_MANUAL, ///< Manually align the window (so no automatic location finding)
|
||||
WDP_AUTO = -1, ///< Find a place automatically
|
||||
WDP_CENTER = -2, ///< Center the window (left/right or top/bottom)
|
||||
WDP_ALIGN_TOOLBAR = -3, ///< Align to the main toolbar
|
||||
};
|
||||
|
||||
Point GetToolbarAlignedWindowPosition(int window_width);
|
||||
|
Reference in New Issue
Block a user