Searched refs:USABLE_WIDTH (Results 1 – 2 of 2) sorted by path
1924 …const GG::X USABLE_WIDTH = std::max(ClientWidth() - RIGHT_EDGE_PAD, GG::X1); // space in which t… in DoLayout() local1927 …const int MAX_BUTTONS_PER_ROW = std::max(Value(USABLE_WIDTH / (MIN_BUTTON_WIDTH + BUTTON_SEPARATIO… in DoLayout()1949 …const GG::X BUTTON_WIDTH = (USABLE_WIDTH - (TOTAL_BUTTONS_PER_ROW - 1)*BUTTON_SEPARATION) / TOTAL_… in DoLayout()
342 …const GG::X USABLE_WIDTH = std::max(ClientWidth() - RIGHT_EDGE_PAD, GG::X1); // space in which t… in DoButtonLayout() local348 m_buttons_per_row = std::max(Value(USABLE_WIDTH / (m_col_offset)), 1); in DoButtonLayout()